From 805fc35877788c121f00a9904dfb5c090496c0d9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 7 Sep 2011 15:52:23 +0200 Subject: Improving messages when saving and restoring stage caches (Closes: #589728). --- scripts/build/lb_chroot_cache | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/build/lb_chroot_cache') 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 -- cgit v1.2.3