From d60a515d315f7ce0cef20907b0bd29dbf45f958c Mon Sep 17 00:00:00 2001 From: Adam Conrad Date: Tue, 10 Jul 2007 12:17:04 +0100 Subject: [PATCH] Wipe debconf backup cruft --- debian/changelog | 1 + livecd.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index a6d2ab10..64804fc6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ livecd-rootfs (0.30) gutsy; urgency=low * Change the maintainer in debian/control to me; so long, LaMont. * Install the BuildLiveCD script to doc/examples, so we have a handy place to yank it from, and to provide an example of our SSH trigger. + * Remove duplicate debconf cruft from the chroot before building. -- Adam Conrad Tue, 10 Jul 2007 10:48:04 +0100 diff --git a/livecd.sh b/livecd.sh index 3479d754..a4b99634 100755 --- a/livecd.sh +++ b/livecd.sh @@ -336,6 +336,10 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP} # all done with the chroot; reset the deconf frontend, so Colin doesn't cry echo RESET debconf/frontend | chroot $ROOT debconf-communicate echo FSET debconf/frontend seen true | chroot $ROOT debconf-communicate + + # And now that we're done messing with debconf, destroy the backup files: + rm -f ${ROOT}/var/cache/debconf/*-old + # Dirty hack to mark langpack stuff as manually installed perl -i -nle 'print unless /^Package: language-(pack|support)/ .. /^$/;' \ ${ROOT}/var/lib/apt/extended_states