parent
3b5252855c
commit
0330c329d2
@ -1,2 +1,2 @@
|
|||||||
livecd.sh e2fs-zero.py usr/sbin
|
livecd.sh e2fs-zero.py ubuntu-touch-android.sh usr/sbin
|
||||||
live-build usr/share/livecd-rootfs
|
live-build usr/share/livecd-rootfs
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
!#/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
codename=$1
|
||||||
|
builddir=$codename-build
|
||||||
|
|
||||||
|
[ "$(dpkg --print-architecture)" = "amd64" ] || exit 1
|
||||||
|
|
||||||
|
# set up multiarch
|
||||||
|
dpkg --print-foreign-architectures | grep -q i386 || dpkg --add-architecture i386
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
# add cross build env including the needed i386 packages
|
||||||
|
apt-get -y install git gnupg flex bison gperf build-essential \
|
||||||
|
zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
|
||||||
|
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
|
||||||
|
libgl1-mesa-dev g++-multilib mingw32 tofrodos phablet-tools \
|
||||||
|
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool \
|
||||||
|
openjdk-6-jdk
|
||||||
|
|
||||||
|
# get the git tree
|
||||||
|
phablet-dev-bootstrap -v $codename $builddir
|
||||||
|
|
||||||
|
cd $builddir
|
||||||
|
repo sync
|
||||||
|
|
||||||
|
. build/envsetup.sh
|
||||||
|
brunch $codename
|
||||||
|
|
||||||
|
cd -
|
||||||
|
cp $builddir/out/target/product/$codename/*-$codename.zip .
|
||||||
|
rm -rf $buildir
|
Loading…
Reference in new issue