Improving messages when saving and restoring stage caches (Closes: #589728).

This commit is contained in:
Daniel Baumann 2011-09-07 15:52:23 +02:00
parent fae160f87a
commit 805fc35877
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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