mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-14 11:41:40 +00:00
fix quoting of the abootimg call for nexus7, dont fail if the userdata exists
This commit is contained in:
parent
abef924f48
commit
917b5a8e49
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.99) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* fix quoting in abootimg call for nexus7
|
||||||
|
* dont fail if the userdata dir already exists
|
||||||
|
|
||||||
|
-- Oliver Grawert <ogra@ubuntu.com> Mon, 19 Nov 2012 18:04:13 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.98) raring; urgency=low
|
livecd-rootfs (2.98) raring; urgency=low
|
||||||
|
|
||||||
* we want nvidia-tegra3 (the binary) not nvidia-graphics-drivers-tegra3
|
* we want nvidia-tegra3 (the binary) not nvidia-graphics-drivers-tegra3
|
||||||
|
@ -378,10 +378,10 @@ if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then
|
|||||||
|
|
||||||
if [ "$SUBARCH" = "nexus7" ]; then
|
if [ "$SUBARCH" = "nexus7" ]; then
|
||||||
# adjust the bootimg cmdline parameters
|
# 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"'
|
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
|
# roll the android rootfs images
|
||||||
mkdir userdata
|
mkdir -p userdata
|
||||||
cp $PREFIX.rootfs.tar.gz userdata/rootfs.tar.gz
|
cp $PREFIX.rootfs.tar.gz userdata/rootfs.tar.gz
|
||||||
make_ext4fs -l 6G -s $PREFIX.img-$FLAVOUR userdata/
|
make_ext4fs -l 6G -s $PREFIX.img-$FLAVOUR userdata/
|
||||||
ln -sf "$PREFIX.img-$FLAVOUR" "$PREFIX.img"
|
ln -sf "$PREFIX.img-$FLAVOUR" "$PREFIX.img"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user