diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-28 06:11:15 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-04-23 14:53:06 +0200 |
commit | f8a401f068a83f71ac266f91dc07c4228f5efff7 (patch) | |
tree | 65cfdd3642581d3f6b2881cf80ca26678fdb40bd /scripts/build/source_hooks | |
parent | 5fb790e43e5dff20340278f9ca7a66939b0f15f9 (diff) | |
download | vyos-live-build-f8a401f068a83f71ac266f91dc07c4228f5efff7.tar.gz vyos-live-build-f8a401f068a83f71ac266f91dc07c4228f5efff7.zip |
config: add --validate option
running `lb config --validate` causes the script to stop after running
the validation check on the config compiled at that point, prior to
writing the config to disk.
this gives users the ability to check the validity of a config without
modifying or rewriting the saved config.
note that if users provide new config options alongside --validate, these
are taken into account in the check performed.
the 'check complete' message will not be seen if an error is reported by
the check function, while it will be seen if only warnings are given, but
it would require a redesign of the validation check function to make any
improvement in that area, and it's perhaps not worth it.
Gbp-Dch: Short
Diffstat (limited to 'scripts/build/source_hooks')
0 files changed, 0 insertions, 0 deletions