[Debian-live-changes] r1060 - in dists/trunk/live-helper: doc helpers

Daniel Baumann daniel at alioth.debian.org
Sun Apr 15 15:26:35 UTC 2007


Author: daniel
Date: 2007-04-15 15:26:35 +0000 (Sun, 15 Apr 2007)
New Revision: 1060

Modified:
   dists/trunk/live-helper/doc/ChangeLog
   dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap
Log:


Modified: dists/trunk/live-helper/doc/ChangeLog
===================================================================
--- dists/trunk/live-helper/doc/ChangeLog	2007-04-13 23:02:11 UTC (rev 1059)
+++ dists/trunk/live-helper/doc/ChangeLog	2007-04-15 15:26:35 UTC (rev 1060)
@@ -1,3 +1,8 @@
+2007-04-15  Daniel Baumann  <daniel at debian.org>
+
+	* helpers/lh_bootstrap_cdebootstrap:
+	  - Removing imported configuration files by cdebootstrap.
+
 2007-04-13  Daniel Baumann  <daniel at debian.org>
 
 	* Moved examples from /usr/share/doc to /usr/share/live-helper.

Modified: dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap
===================================================================
--- dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap	2007-04-13 23:02:11 UTC (rev 1059)
+++ dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap	2007-04-15 15:26:35 UTC (rev 1060)
@@ -137,6 +137,11 @@
 		Chroot "dpkg -P cdebootstrap-helper-diverts"
 	fi
 
+	# Deconfiguring cdebootstrap configurations
+	rm -f chroot/etc/apt/sources.list
+	rm -f chroot/etc/hosts
+	rm -f chroot/etc/resolv.conf
+
 	# Removing bootstrap cache
 	if [ -d chroot/var/cache/bootstrap ]
 	then




More information about the Debian-live-changes mailing list