copy the initrd out of the chroot before we purge the kernel package on ubuntu-touch

ubuntu/trusty
Oliver Grawert 12 years ago
parent 030f6830d1
commit b932a9dbf2

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.142) UNRELEASED; urgency=low
* copy the initrd out of the chroot before we purge the kernel package on
ubuntu-touch
-- Oliver Grawert <ogra@ubuntu.com> Wed, 29 May 2013 16:53:56 +0200
livecd-rootfs (2.141) saucy; urgency=low livecd-rootfs (2.141) saucy; urgency=low
* make removal of non existing old initrds non fatal in ubuntu-touch * make removal of non existing old initrds non fatal in ubuntu-touch

@ -433,9 +433,9 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
Chroot chroot "env FLASH_KERNEL_SKIP=1 update-initramfs -k $kver -c -v" Chroot chroot "env FLASH_KERNEL_SKIP=1 update-initramfs -k $kver -c -v"
Chroot chroot "abootimg --create /boot/bootimg-${subarch}.img -f $bootimgcfg -r /boot/initrd.img-${kver} -k /boot/vmlinuz-${kver}" Chroot chroot "abootimg --create /boot/bootimg-${subarch}.img -f $bootimgcfg -r /boot/initrd.img-${kver} -k /boot/vmlinuz-${kver}"
Chroot chroot "apt-get -y purge $kpkg"
cp "chroot/boot/bootimg-${subarch}.img" "$PREFIX-boot-${subarch}.img" cp "chroot/boot/bootimg-${subarch}.img" "$PREFIX-boot-${subarch}.img"
Chroot chroot "apt-get -y purge $kpkg"
done done
lb chroot_devpts remove "$@" lb chroot_devpts remove "$@"

Loading…
Cancel
Save