mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 19:31:31 +00:00
Drop Nexus 7 support
This commit is contained in:
parent
510f16b757
commit
df89bff043
@ -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 "$@"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user