summaryrefslogtreecommitdiff
path: root/scripts/build/chroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot')
-rwxr-xr-xscripts/build/chroot26
1 files changed, 2 insertions, 24 deletions
diff --git a/scripts/build/chroot b/scripts/build/chroot
index ad15ff0a2..f6ac8901f 100755
--- a/scripts/build/chroot
+++ b/scripts/build/chroot
@@ -31,18 +31,7 @@ Setup_clean_exit
lb chroot_cache restore "${@}"
# 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 "${@}"
# Customizing chroot
@@ -68,18 +57,7 @@ Chroot chroot "dpkg-query -W" > chroot.packages.live
# 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 "${@}"
# Saving live OS chroot to cache
lb chroot_cache save "${@}"