diff options
-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 |