X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fhv-install-1;h=13f564de2e904ca740f39d31e9898e7c7358d706;hb=2d56e369dbc033f743dfcc0b392c844d6299937b;hp=1bc05c21c583588c9e1895116b04c13921c9a5be;hpb=19609cec14f0e747c491985785c4d714f7f654de;p=hvlinux.git diff --git a/stage1/hv-install-1 b/stage1/hv-install-1 index 1bc05c2..13f564d 100755 --- a/stage1/hv-install-1 +++ b/stage1/hv-install-1 @@ -1,13 +1,13 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -hvtrap_setup -source ../packages-list +source ../functions/main +check_for_root_user 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 +16,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