X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fhv-install-1;h=5adcb13fd58f9f953af8c091a3cfe01a1e23d71c;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=8b69a4ab25dd9ef1d0a91596a302a1734f3a5175;hpb=9b734560ce02e626f7ea58ea9153b5e8daa00831;p=hvlinux.git diff --git a/stage0/hv-install-1 b/stage0/hv-install-1 index 8b69a4a..5adcb13 100755 --- a/stage0/hv-install-1 +++ b/stage0/hv-install-1 @@ -2,8 +2,12 @@ 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 rscr mult "Creating HVLinux version file" create-version @@ -12,6 +16,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