[Debian-live-changes] r2415 - dists/trunk/live-helper/helpers

daniel at alioth.debian.org daniel at alioth.debian.org
Fri Jul 6 23:07:05 UTC 2007


Author: daniel
Date: 2007-07-06 23:07:04 +0000 (Fri, 06 Jul 2007)
New Revision: 2415

Modified:
   dists/trunk/live-helper/helpers/lh_chroot_hacks
Log:


Modified: dists/trunk/live-helper/helpers/lh_chroot_hacks
===================================================================
--- dists/trunk/live-helper/helpers/lh_chroot_hacks	2007-07-06 22:41:30 UTC (rev 2414)
+++ dists/trunk/live-helper/helpers/lh_chroot_hacks	2007-07-06 23:07:04 UTC (rev 2415)
@@ -80,14 +80,20 @@
 		;;
 esac
 
+# Update initramfs
+Chroot "update-initramfs -k all -t -u"
+
 # Remove build systems clock drift
 echo "0.0 0 0.0" > chroot/etc/adjtime
 
 # Remove generated xorg.conf based on build systems configuration
 rm -f chroot/etc/X11/xorg.conf
 
-# Update initramfs
-Chroot "update-initramfs -k all -t -u"
+# Remove cruft
+rm -f chroot/etc/group- chroot/etc/passwd-
+rm -f chroot/etc/gshadow- chroot/etc/shadow-
+rm -f chroot/var/cache/debconf/*-old
+rm -f chroot/var/lib/dpkg/*-old
 
 if [ -n "${LH_ROOT_COMMAND}" ]
 then




More information about the Debian-live-changes mailing list