make failing removal of non existing old initrds non fatal in ubuntu-touch

ubuntu/trusty
Oliver Grawert 12 years ago
parent 39ead9c9d4
commit 2afcb7b21c

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.141) UNRELEASED; urgency=low
* make removal of non existing old initrds non fatal in ubuntu-touch
-- Oliver Grawert <ogra@ubuntu.com> Wed, 29 May 2013 16:25:18 +0200
livecd-rootfs (2.140) saucy; urgency=low livecd-rootfs (2.140) saucy; urgency=low
* hardcode dist in the temporary sources.list of the ubuntu-touch initrd * hardcode dist in the temporary sources.list of the ubuntu-touch initrd

@ -435,8 +435,7 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
Chroot chroot "apt-get -y purge $kpkg" Chroot chroot "apt-get -y purge $kpkg"
cp "chroot/boot/bootimg-${subarch}.img" "$PREFIX-${subarch}-boot.img" cp "chroot/boot/bootimg-${subarch}.img" "$PREFIX-boot-${subarch}.img"
rm "chroot/boot/bootimg-${subarch}.img" "/chroot/boot/initrd.img-"* "/chroot/boot/vmlinuz-"*
done done
lb chroot_devpts remove "$@" lb chroot_devpts remove "$@"
@ -457,6 +456,7 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
else else
rm chroot/etc/resolv.conf rm chroot/etc/resolv.conf
fi fi
rm -rf chroot/boot/* || true
fi fi
# LTSP chroot building (only in 32bit and for Edubuntu (DVD)) # LTSP chroot building (only in 32bit and for Edubuntu (DVD))

Loading…
Cancel
Save