[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636489: marked as done (live-build: Add some extra cleaning)



Your message dated Fri, 05 Aug 2011 08:00:38 +0200
with message-id <4E3B8706.80801@progress-technologies.net>
and subject line Re: Bug#636489: live-build: Add some extra cleaning
has caused the Debian Bug report #636489,
regarding live-build: Add some extra cleaning
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
636489: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636489
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
On 08/05/2011 01:14 AM, Armin Krezović wrote:
> As I stated, it is just cleaning. Those files do not do
> anything, they are just in the way.

debian-live images do not deviate from debian except for live specific
things. or in other words: if you want non-live specific things fixed,
they need to be fixed in debian, live-build is not the place to do it.

for your local builds, you can use a local hook to remove them, or,
configure the kernel packages to not create them in the first place.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/


--- End Message ---

Reply to: