diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-04 13:10:42 +0100 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-04 13:14:57 +0100 |
commit | 76459a39cdc6f35485a867fd96c7cce29a2cc6b9 (patch) | |
tree | 44a9bf41573fe453484a3a3c7773295f12962803 /COPYING | |
parent | 21c697617d8299e19a99df12c70e36b379c91fce (diff) | |
download | vyos-live-build-76459a39cdc6f35485a867fd96c7cce29a2cc6b9.tar.gz vyos-live-build-76459a39cdc6f35485a867fd96c7cce29a2cc6b9.zip |
clean: tweak init
`Init_config_data` is more suited to build scripts than here. note that
it's not used in `config` either. this deliberately does not pass along
arguments to it because `Arguments()` can only handle the basic common
options, not the `clean` set. this is somewhat confusing and causes a
pointless execution of `getopt`. furthermore the function is expanding
slightly further beyond it's original scope, with yet more change coming
that's unsuitable for `clean`, so it makes sense to avoid using the
function here just for the couple of function calls needed.
validation of the config is disabled, as it is not performed currently.
it is not clear if it should be enabled or not for `clean`. it may be
useful to not validate, if we wish to be able to provide users with an
option to be able to delete the config.
Gbp-Dch: Ignore
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions