[SCM] live-helper branch, debian-next, updated. debian/2.0_a5-1-7-g7194d5f

Daniel Baumann daniel at debian.org
Mon Jan 25 15:38:38 UTC 2010


The following commit has been merged in the debian-next branch:
commit 7194d5fd39f9bd45f366c6d7bfc5ef8e53bf1367
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Jan 25 16:35:31 2010 +0100

    Also making use of package cache during chroot_local-hooks (Closes: #566838).

diff --git a/helpers/lh_chroot_local-hooks b/helpers/lh_chroot_local-hooks
index 5c076b0..0155e79 100755
--- a/helpers/lh_chroot_local-hooks
+++ b/helpers/lh_chroot_local-hooks
@@ -40,6 +40,9 @@ Create_lockfile .lock
 # Processing local-hooks
 if Find_files config/chroot_local-hooks/*
 then
+	# Restoring cache
+	Restore_cache cache/packages_chroot
+
 	for HOOK in config/chroot_local-hooks/*
 	do
 		# Copying hook
@@ -58,6 +61,9 @@ then
 		rm -f chroot/root/"$(basename ${HOOK})"
 	done
 
+	# Saving cache
+	Save_cache cache/packages_chroot
+
 	# Creating stage file
 	Create_stagefile .stage/chroot_local-hooks
 fi

-- 
live-helper



More information about the debian-live-changes mailing list