r2685 - in dists/trunk/live-helper: docs helpers
daniel at alioth.debian.org
daniel at alioth.debian.org
Sat Aug 4 18:05:52 UTC 2007
Author: daniel
Date: 2007-08-04 18:05:51 +0000 (Sat, 04 Aug 2007)
New Revision: 2685
Modified:
dists/trunk/live-helper/docs/ChangeLog
dists/trunk/live-helper/helpers/lh_binary_chroot
Log:
Modified: dists/trunk/live-helper/docs/ChangeLog
===================================================================
--- dists/trunk/live-helper/docs/ChangeLog 2007-08-04 17:54:57 UTC (rev 2684)
+++ dists/trunk/live-helper/docs/ChangeLog 2007-08-04 18:05:51 UTC (rev 2685)
@@ -4,6 +4,8 @@
- Renaming LIVE_* variables to LH_*.
* excamples/cron/*:
- Updated to make-live removal.
+ * helpers/lh_binary_chroot:
+ - Exit earlier when rootfs was cached.
* helpers/lh_binary_debian-installer, lh_binary_includes:
- Fixed some bashisms.
* helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot:
Modified: dists/trunk/live-helper/helpers/lh_binary_chroot
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_chroot 2007-08-04 17:54:57 UTC (rev 2684)
+++ dists/trunk/live-helper/helpers/lh_binary_chroot 2007-08-04 18:05:51 UTC (rev 2685)
@@ -62,6 +62,11 @@
exit 0
fi
+if [ "${LH_CACHE}" = "enabled" ] && ls cache/stages_rootfs/filesystem* > /dev/null 2>&1
+then
+ exit 0
+fi
+
Echo_message "This may take a while."
# Removing old chroot
More information about the debian-live-changes
mailing list