summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hooks
diff options
context:
space:
mode:
authorjnqnfe <jnqnfe@gmail.com>2015-02-05 03:30:47 +0000
committerLuca Boccassi <bluca@debian.org>2020-03-10 12:39:37 +0000
commitb49abcc1a8002c52b45c3e3da6723097f99c26e6 (patch)
tree46f650bb927ba9a8a705d01aa73c090c98f47c12 /scripts/build/chroot_hooks
parented2d70bde10e8ff02e7409c125a6c70da8d6d9ba (diff)
downloadvyos-live-build-b49abcc1a8002c52b45c3e3da6723097f99c26e6.tar.gz
vyos-live-build-b49abcc1a8002c52b45c3e3da6723097f99c26e6.zip
tidy script init (1/4) - arg and config processing
Partial fix for #952919 Gbp-Dch: Short
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-xscripts/build/chroot_hooks7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index d6e86e45d..f00820991 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -18,11 +18,8 @@ DESCRIPTION="Execute hooks in chroot"
HELP=""
USAGE="${PROGRAM} [--force]"
-Arguments "${@}"
-
-# Reading configuration files
-Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
-Set_defaults
+# Processing arguments and configuration files
+Init_config_data "${@}"
Echo_message "Begin executing hooks..."