diff --git a/live-build/auto/build b/live-build/auto/build index 89e67875..aa447bdd 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -835,7 +835,7 @@ if [ "$NUMFLAVOURS" = 1 ] && [ "$LB_LINUX_FLAVOURS" != "none" ]; then fi fi -if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then +if [ "$SUBARCH" = "ac100" ]; then # create the md5sum and size files for which we are actually doing all this md5sum $PREFIX.rootfs.tar.gz >chroot/installer.md5 wc -c $PREFIX.rootfs.tar.gz >chroot/installer.size @@ -856,16 +856,6 @@ if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then # create boot.img Chroot chroot "abootimg --create /boot/installer-${KVERS}.img -f /boot/bootimg.cfg-$SUBARCH -r /boot/initrd.img-${KVERS} -k /boot/vmlinuz-${KVERS}" - if [ "$SUBARCH" = "nexus7" ]; then - # roll the android rootfs images - mkdir -p userdata - mv $PREFIX.rootfs.tar.gz userdata/rootfs.tar.gz - apt-get -y install android-tools-fsutils - make_ext4fs -l 6G -s $PREFIX.ext4-$FLAVOUR userdata/ - mv userdata/rootfs.tar.gz $PREFIX.rootfs.tar.gz - ln -sf "$PREFIX.ext4-$FLAVOUR" "$PREFIX.ext4" - fi - # clean up lb chroot_devpts remove "$@" lb chroot_sysfs remove "$@" diff --git a/live-build/auto/config b/live-build/auto/config index 1faf049b..9abaaa65 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -642,16 +642,6 @@ case $ARCH in add_package live ac100-tarball-installer BINARY_REMOVE_LINUX=false ;; - nexus7) - COMPONENTS='main restricted universe multiverse' - add_package install zram-config abootimg - add_package install nvidia-tegra3 ubuntu-defaults-nexus7 - add_package live ac100-tarball-installer - BINARY_REMOVE_LINUX=false - mkdir -p config/preseed - echo "linux-firmware-nexus7 shared/nexus7_notice_accepted boolean true" >config/preseed/linux-firmware-nexus7.preseed.chroot - echo "d-i passwd/auto-login boolean true" >config/preseed/autologin.preseed.chroot - ;; raspi2) COMPONENTS='main restricted universe multiverse' add_package install linux-firmware-raspi2 u-boot-rpi flash-kernel u-boot-tools