diff options
Diffstat (limited to 'scripts/build/source')
-rwxr-xr-x | scripts/build/source | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/build/source b/scripts/build/source index 7e03c337c..9fe0dc8e0 100755 --- a/scripts/build/source +++ b/scripts/build/source @@ -32,10 +32,10 @@ fi # Setting up cleanup function Setup_clean_exit +CHROOT_PREP="hosts resolv hostname" + # Configuring chroot (enabling networking) -lb chroot_hosts install "${@}" -lb chroot_resolv install "${@}" -lb chroot_hostname install "${@}" +lb chroot_prep install "${CHROOT_PREP}" "${@}" lb chroot_archives source install "${@}" # Preparing images @@ -52,8 +52,6 @@ lb source_hdd "${@}" # Deconfiguring chroot lb chroot_archives source remove "${@}" -lb chroot_hostname remove "${@}" -lb chroot_resolv remove "${@}" -lb chroot_hosts remove "${@}" +lb chroot_prep remove "${CHROOT_PREP}" "${@}" Echo_message "Source stage completed" |