summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_proc
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_proc')
-rwxr-xr-xhelpers/lh_chroot_proc11
1 files changed, 10 insertions, 1 deletions
diff --git a/helpers/lh_chroot_proc b/helpers/lh_chroot_proc
index ac0dd17..b689cc6 100755
--- a/helpers/lh_chroot_proc
+++ b/helpers/lh_chroot_proc
@@ -22,11 +22,20 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Arguments "${@}"
+# Ensure that a system is built as root
+lh_testroot
+
+Echo_debug "Init ${PROGRAM}"
+
# Reading configuration files
-Read_conffile config/common
+Read_conffile config/bootstrap
Read_conffile config/chroot
+Read_conffile config/common
+Read_conffile config/image
Set_defaults
+Breakpoint "chroot_proc: Init"
+
# Requiring stage file
Require_stagefile .stage/bootstrap