summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sysfs
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_sysfs')
-rwxr-xr-xhelpers/lh_chroot_sysfs11
1 files changed, 10 insertions, 1 deletions
diff --git a/helpers/lh_chroot_sysfs b/helpers/lh_chroot_sysfs
index d350541df..ae9c0b4dd 100755
--- a/helpers/lh_chroot_sysfs
+++ b/helpers/lh_chroot_sysfs
@@ -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_sysfs: Init"
+
# Requiring stage file
Require_stagefile .stage/bootstrap