X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fhv-install-1;fp=stage0%2Fhv-install-1;h=260e3c465e8b00c05ddf7f26e69a5f3dafd1b4e3;hb=b7d1d99f41dcf50a8635f608679947f4455a0c7c;hp=0000000000000000000000000000000000000000;hpb=907fcfdccdd0ddd33accef87490f9e0b750797ad;p=hvlinux.git diff --git a/stage0/hv-install-1 b/stage0/hv-install-1 new file mode 100755 index 0000000..260e3c4 --- /dev/null +++ b/stage0/hv-install-1 @@ -0,0 +1,20 @@ +#!/bin/bash + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +hvtrap_setup +source ../packages-list + +init_log_file + +rscr mult "Performing pre-install" pre-install + +# Logging-in as 'lfs' user, and executing the hv-install-2 script. The +# 'su -' command starts with a clean environment and enters the home +# directory of the user. +su - lfs -c "cd ${PWD}; ./hv-install-2" + +echo "Total build time: $(get_total_build_time ${LFS_LOG_FILE})h" + +exit 0