summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_sysfs
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_sysfs
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_sysfs')
-rwxr-xr-xscripts/build/chroot_sysfs7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/chroot_sysfs b/scripts/build/chroot_sysfs
index d5ad080ad..0777e45fb 100755
--- a/scripts/build/chroot_sysfs
+++ b/scripts/build/chroot_sysfs
@@ -18,11 +18,8 @@ DESCRIPTION="Mount /sys"
HELP=""
USAGE="${PROGRAM} {install|remove} [--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 "${@}"
# Requiring stage file
Require_stagefile .build/config .build/bootstrap