diff options
author | Daniel Baumann <daniel@debian.org> | 2011-09-07 15:52:23 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-09-07 15:52:23 +0200 |
commit | 805fc35877788c121f00a9904dfb5c090496c0d9 (patch) | |
tree | 81d5d43ef145dc82932e208e50681c413a3f1138 | |
parent | fae160f87a7c49e60205542d94e63e645caff59d (diff) | |
download | vyos-live-build-805fc35877788c121f00a9904dfb5c090496c0d9.tar.gz vyos-live-build-805fc35877788c121f00a9904dfb5c090496c0d9.zip |
Improving messages when saving and restoring stage caches (Closes: #589728).
-rwxr-xr-x | scripts/build/lb_bootstrap_cache | 6 | ||||
-rwxr-xr-x | scripts/build/lb_chroot_cache | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/scripts/build/lb_bootstrap_cache b/scripts/build/lb_bootstrap_cache index ce8cad0b0..86cb18f0f 100755 --- a/scripts/build/lb_bootstrap_cache +++ b/scripts/build/lb_bootstrap_cache @@ -27,14 +27,14 @@ Set_defaults # Check architecture Check_crossarchitectures -Echo_message "Begin caching bootstrap stage..." - for STAGE in ${LB_CACHE_STAGES} do if [ "${STAGE}" = "bootstrap" ] then case "${1}" in restore) + Echo_message "Restoring bootstrap stage from cache..." + # Checking stage file Check_stagefile .stage/bootstrap_cache.restore @@ -66,6 +66,8 @@ do ;; save) + Echo_message "Saving bootstrap stage to cache..." + # Checking stage file Check_stagefile .stage/bootstrap_cache.save 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 |