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

daniel at alioth.debian.org daniel at alioth.debian.org
Sun Jun 10 13:50:46 UTC 2007


Author: daniel
Date: 2007-06-10 13:50:46 +0000 (Sun, 10 Jun 2007)
New Revision: 1995

Modified:
   dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap
   dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap
   dists/trunk/live-helper/helpers/lh_chroot
Log:


Modified: dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap
===================================================================
--- dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap	2007-06-10 11:32:57 UTC (rev 1994)
+++ dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap	2007-06-10 13:50:46 UTC (rev 1995)
@@ -168,10 +168,7 @@
 	do
 		if [ "${STAGE}" = "bootstrap" ]
 		then
-			if [ -d cache/stages_bootstrap ]
-			then
-				rm -rf cache/stages_bootstrap
-			fi
+			rm -rf cache/stages_bootstrap
 
 			mkdir -p cache
 

Modified: dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap
===================================================================
--- dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap	2007-06-10 11:32:57 UTC (rev 1994)
+++ dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap	2007-06-10 13:50:46 UTC (rev 1995)
@@ -135,10 +135,7 @@
 	do
 		if [ "${STAGE}" = "bootstrap" ]
 		then
-			if [ -d cache/stages_bootstrap ]
-			then
-				rm -rf cache/stages_bootstrap
-			fi
+			rm -rf cache/stages_bootstrap
 
 			mkdir -p cache
 

Modified: dists/trunk/live-helper/helpers/lh_chroot
===================================================================
--- dists/trunk/live-helper/helpers/lh_chroot	2007-06-10 11:32:57 UTC (rev 1994)
+++ dists/trunk/live-helper/helpers/lh_chroot	2007-06-10 13:50:46 UTC (rev 1995)
@@ -33,6 +33,7 @@
 Set_defaults
 
 # Configuring chroot
+lh_chroot_cache restore ${*}
 lh_chroot_proc install ${*}
 lh_chroot_sysfs install ${*}
 lh_chroot_debianchroot install ${*}
@@ -69,3 +70,4 @@
 lh_chroot_debianchroot remove ${*}
 lh_chroot_sysfs remove ${*}
 lh_chroot_proc remove ${*}
+lh_chroot_cache save ${*}




More information about the Debian-live-changes mailing list