Bug#636489: live-build: Add some extra cleaning
Package: live-build
Version: 3.0~a25
Severity: wishlist
Tags: upstream, patch
When there are multiple kernels, there remain /vmlinuz.old
and /initrd.img.old on chroot, so I attach another proposed patch to
clean those files.
--- live-build-3.0~a25/scripts/build/lb_chroot_hacks.orig 2011-08-03 03:01:22.000000000 +0200
+++ live-build-3.0~a25/scripts/build/lb_chroot_hacks 2011-08-03 03:04:19.000000000 +0200
@@ -225,6 +225,8 @@
rm -f chroot/var/cache/debconf/*-old
rm -f chroot/var/lib/dpkg/*-old
rm -f chroot/var/log/apt/term.log
+rm -f chroot/initrd.img.old
+rm -f chroot/vmlinuz.old
if [ -n "${LB_ROOT_COMMAND}" ]
then
Reply to: