add nexus7 specific kernel cmdline, move the nexus7 processing up a bit in the code so we can modify the bootimg cmdline before the file gets copied around

ubuntu/trusty
Oliver Grawert 12 years ago
parent 183f48086b
commit 7c3b30f6fc

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.96) UNRELEASED; urgency=low
* add nexus7 specific kernel cmdline
* move the nexus7 processing up a bit in the code so we can modify the
bootimg cmdline before the file gets copied around
-- Oliver Grawert <ogra@ubuntu.com> Wed, 14 Nov 2012 13:28:50 +0100
livecd-rootfs (2.95) raring; urgency=low
* make the dependency on android-tools-fsutils not arch specific, seems

@ -376,6 +376,17 @@ if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then
# create boot.img
Chroot chroot "abootimg --create /boot/installer-${KVERS}.img -f /boot/bootimg.cfg -r /boot/initrd.img-${KVERS} -k /boot/vmlinuz-${KVERS}"
if [ "$SUBARCH" = "nexus7" ]; then
# adjust the bootimg cmdline parameters
Chroot chroot 'abootimg -u /boot/installer-${KVERS}.img -c "cmdline=root=/dev/mmcblk0p9 ro console=tty1 fbcon=rotate:1 quiet splash"'
# roll the android rootfs images
mkdir userdata
cp $PREFIX.rootfs.tar.gz userdata/rootfs.tar.gz
make_ext4fs -l 6G -s $PREFIX.img-$FLAVOUR userdata/
ln -sf "$PREFIX.img-$FLAVOUR" "$PREFIX.img"
fi
# clean up
lb chroot_devpts remove "$@"
lb chroot_sysfs remove "$@"
@ -384,13 +395,6 @@ if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then
cp "chroot/boot/installer-${KVERS}.img" "$PREFIX.bootimg-$FLAVOUR"
ln -sf "$PREFIX.bootimg-$FLAVOUR" "$PREFIX.bootimg"
if [ "$SUBARCH" = "nexus7" ]; then
# roll the android rootfs images
mkdir userdata
cp $PREFIX.rootfs.tar.gz userdata/rootfs.tar.gz
make_ext4fs -l 6G -s $PREFIX.img-$FLAVOUR userdata/
ln -sf "$PREFIX.img-$FLAVOUR" "$PREFIX.img"
fi
fi
# LTSP chroot building (only in 32bit and for Edubuntu (DVD))

Loading…
Cancel
Save