summaryrefslogtreecommitdiff
path: root/scripts/build/chroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot')
-rwxr-xr-xscripts/build/chroot14
1 files changed, 5 insertions, 9 deletions
diff --git a/scripts/build/chroot b/scripts/build/chroot
index decf9b68e..1c20714f0 100755
--- a/scripts/build/chroot
+++ b/scripts/build/chroot
@@ -13,23 +13,19 @@ set -e
# Including common functions
[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
-# Automatically populating config tree
-if [ -x auto/config ] && [ ! -e .build/config ]
-then
- Echo_message "Automatically populating config tree."
- lb config
-fi
-
# Setting static variables
DESCRIPTION="Customize the Debian system"
HELP=""
USAGE="${PROGRAM} [--force]"
+# Automatically populating config tree
+Auto_build_config
+
# Processing arguments and configuration files
Init_config_data "${@}"
-# Setup cleanup function
-Setup_cleanup
+# Setting up cleanup function
+Setup_clean_exit
# Configuring chroot
lb chroot_cache restore ${@}