add build & build stage success messages

This commit is contained in:
Lyndon Brown 2020-03-16 02:12:47 +00:00 committed by Luca Boccassi
parent 24aab15d2a
commit af040d7803
6 changed files with 18 additions and 2 deletions

View File

@ -100,3 +100,5 @@ lb chroot_sysfs remove ${@}
lb chroot_selinuxfs remove ${@} lb chroot_selinuxfs remove ${@}
lb chroot_proc remove ${@} lb chroot_proc remove ${@}
lb chroot_devpts remove ${@} lb chroot_devpts remove ${@}
Echo_message "Binary stage completed"

View File

@ -61,3 +61,5 @@ lb chroot_sysfs remove ${@}
lb chroot_selinuxfs remove ${@} lb chroot_selinuxfs remove ${@}
lb chroot_proc remove ${@} lb chroot_proc remove ${@}
lb chroot_devpts remove ${@} lb chroot_devpts remove ${@}
Echo_message "Bootstrap stage completed"

View File

@ -68,3 +68,9 @@ lb binary ${@}
# Stage #5: Build supplimentary source disc images # Stage #5: Build supplimentary source disc images
lb source ${@} lb source ${@}
if [ "${_COLOR_OUT}" = "false" ]; then
Echo_message "Build completed successfully"
else
Echo_message "%sBuild completed successfully%s" "$(echo ${GREEN})" "$(echo ${NO_COLOR})"
fi

View File

@ -87,3 +87,5 @@ lb chroot_devpts remove ${@}
lb chroot_cache save ${@} lb chroot_cache save ${@}
Chroot chroot "ls -lR" > chroot.files Chroot chroot "ls -lR" > chroot.files
Echo_message "Chroot stage completed"

View File

@ -66,3 +66,5 @@ then
lb chroot_proc remove ${@} lb chroot_proc remove ${@}
lb chroot_devpts remove ${@} lb chroot_devpts remove ${@}
fi fi
Echo_message "Installer stage completed"

View File

@ -24,8 +24,8 @@ Auto_build_config
# Processing arguments and configuration files # Processing arguments and configuration files
Init_config_data "${@}" Init_config_data "${@}"
if [ "${LB_SOURCE}" != "true" ] if [ "${LB_SOURCE}" != "true" ]; then
then Echo_message "Source stage disabled, skipping"
exit 0 exit 0
fi fi
@ -55,3 +55,5 @@ lb chroot_archives source remove ${@}
lb chroot_hostname remove ${@} lb chroot_hostname remove ${@}
lb chroot_resolv remove ${@} lb chroot_resolv remove ${@}
lb chroot_hosts remove ${@} lb chroot_hosts remove ${@}
Echo_message "Source stage completed"