X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fhv-install-1;h=0fe2837a74d3abb78128709d70e2aa76a075a6d8;hb=2f26e347a05e245d6f57cb6603a7a51a4418b80d;hp=e7c7bda87af78239958508efcc3d9ee3ff9fe9ab;hpb=f920c7ef750f2163b9e407cc453b192ede2c185a;p=hvlinux.git diff --git a/stage1/hv-install-1 b/stage1/hv-install-1 index e7c7bda..0fe2837 100755 --- a/stage1/hv-install-1 +++ b/stage1/hv-install-1 @@ -1,13 +1,12 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -hvtrap_setup -source ../config/packages-list +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 # Logging-in as 'lfs' user, and executing the hv-install-2 script. The @@ -16,7 +15,7 @@ rscr mult "Performing pre-install" pre-install su - lfs -c "cd ${PWD}; ./hv-install-2" rscr mult "Performing post-install" post-install - -echo "Total build time: $(get_total_build_time ${LFS_LOG_FILE})h" +write_completed_stage +display_stage_build_stats exit 0