summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_cache
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-09-07 15:52:23 +0200
committerDaniel Baumann <daniel@debian.org>2011-09-07 15:52:23 +0200
commit805fc35877788c121f00a9904dfb5c090496c0d9 (patch)
tree81d5d43ef145dc82932e208e50681c413a3f1138 /scripts/build/lb_chroot_cache
parentfae160f87a7c49e60205542d94e63e645caff59d (diff)
downloadvyos-live-build-805fc35877788c121f00a9904dfb5c090496c0d9.tar.gz
vyos-live-build-805fc35877788c121f00a9904dfb5c090496c0d9.zip
Improving messages when saving and restoring stage caches (Closes: #589728).
Diffstat (limited to 'scripts/build/lb_chroot_cache')
-rwxr-xr-xscripts/build/lb_chroot_cache6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_cache b/scripts/build/lb_chroot_cache
index bca88cd75..3ad07df9e 100755
--- a/scripts/build/lb_chroot_cache
+++ b/scripts/build/lb_chroot_cache
@@ -24,14 +24,14 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-Echo_message "Begin caching chroot stage..."
-
for STAGE in ${LB_CACHE_STAGES}
do
if [ "${STAGE}" = "chroot" ]
then
case "${1}" in
restore)
+ Echo_message "Restoring chroot stage from cache..."
+
# Checking stage file
Check_stagefile .stage/chroot_cache.restore
@@ -62,6 +62,8 @@ do
;;
save)
+ Echo_message "Saving chroot stage to cache..."
+
# Checking stage file
Check_stagefile .stage/chroot_cache.save