diff --git a/debian/changelog b/debian/changelog index a3454ce8..82f86434 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 29 May 2013 16:53:56 +0200 + livecd-rootfs (2.141) saucy; urgency=low * make removal of non existing old initrds non fatal in ubuntu-touch diff --git a/live-build/auto/build b/live-build/auto/build index fdb2b908..a1ca0f8f 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -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 "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" + + Chroot chroot "apt-get -y purge $kpkg" done lb chroot_devpts remove "$@"