Ajout Makefile stage0
[hvlinux.git] / stage0 / hv-install-1
diff --git a/stage0/hv-install-1 b/stage0/hv-install-1
new file mode 100755 (executable)
index 0000000..260e3c4
--- /dev/null
@@ -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