-Ajouté fichier à chaque stage pour indiquer qu'il est complété.
[hvlinux.git] / stage0 / hv-install-1
index 8b69a4a..72fb50b 100755 (executable)
@@ -4,6 +4,9 @@ source ../functions/main
 
 init_log_file
 
+# This function will exit if the stage is already completed
+check_completed_stage
+
 rscr mult "Performing pre-install" pre-install
 rscr mult "Creating HVLinux version file" create-version
 
@@ -12,6 +15,7 @@ rscr mult "Creating HVLinux version file" create-version
 # directory of the user.
 su - lfs -c "cd ${PWD}; ./hv-install-2"
 
-echo "Total build time: $(get_total_build_time ${LFS_LOG_FILE})h"
+write_completed_stage
+display_stage_build_stats
 
 exit 0