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 /manpages | |
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 'manpages')
-rw-r--r-- | manpages/en/lb_config.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1 index 897a0db6c..4b258f8a0 100644 --- a/manpages/en/lb_config.1 +++ b/manpages/en/lb_config.1 @@ -232,6 +232,8 @@ .br [\fB\-\-updates\fR true|false] .br + [\fB\-\-validate\fR] +.br [\fB\-\-verbose\fR] .br [\fB\-\-win32\-loader\fR true|false] @@ -479,6 +481,8 @@ selects which program is used to install tasks. By default, this is set to tasks enables or disables Secure Boot support when using grub-efi, by installing signed shim and grub-efi packages. By default, this is set to auto, which means if the packages are available they will be installed, but if not only a warning will be printed and the normal non-signed grub-efi will be used. .IP "\fB\-\-updates\fR true|false" 4 defines if debian updates package archives should be included in the image or not. +.IP "\fB\-\-validate\fR" 4 +requests that the config be validated only, not changed, thus after the validation check the script ends rather than writing an updated config. Please note that at the time of writing, many options do not have corresponding validation checks. .IP "\fB\-\-verbose\fR" 4 increases the verbosity of messages output by \fBlb build\fR. .IP "\fB\-\-win32\-loader\fR true|false" 4 |