summaryrefslogtreecommitdiff
path: root/scripts/build/installer
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/installer')
-rwxr-xr-xscripts/build/installer32
1 files changed, 4 insertions, 28 deletions
diff --git a/scripts/build/installer b/scripts/build/installer
index 3054861dc..bab2a6d32 100755
--- a/scripts/build/installer
+++ b/scripts/build/installer
@@ -27,21 +27,9 @@ Init_config_data "${@}"
# Setting up cleanup function
Setup_clean_exit
-if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
-then
+if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]; then
# Configuring chroot
- lb chroot_devpts install "${@}"
- lb chroot_proc install "${@}"
- lb chroot_selinuxfs install "${@}"
- lb chroot_sysfs install "${@}"
- lb chroot_debianchroot install "${@}"
- lb chroot_dpkg install "${@}"
- lb chroot_tmpfs install "${@}"
- lb chroot_sysv-rc install "${@}"
- lb chroot_hosts install "${@}"
- lb chroot_resolv install "${@}"
- lb chroot_hostname install "${@}"
- lb chroot_apt install "${@}"
+ lb chroot_prep install all "${@}"
lb chroot_archives chroot install "${@}"
fi
@@ -49,22 +37,10 @@ fi
lb installer_debian-installer "${@}"
lb installer_preseed "${@}"
-if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
-then
+if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]; then
# Deconfiguring chroot
lb chroot_archives chroot remove "${@}"
- lb chroot_apt remove "${@}"
- lb chroot_hostname remove "${@}"
- lb chroot_resolv remove "${@}"
- lb chroot_hosts remove "${@}"
- lb chroot_sysv-rc remove "${@}"
- lb chroot_tmpfs remove "${@}"
- lb chroot_dpkg remove "${@}"
- lb chroot_debianchroot remove "${@}"
- lb chroot_sysfs remove "${@}"
- lb chroot_selinuxfs remove "${@}"
- lb chroot_proc remove "${@}"
- lb chroot_devpts remove "${@}"
+ lb chroot_prep remove all "${@}"
fi
Echo_message "Installer stage completed"