diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-28 10:36:57 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-04-23 15:16:46 +0200 |
commit | 3645719f22d344a0f2850986bdb5e90ca79f72b0 (patch) | |
tree | bffdbead804b21c376a49aa77eb552ed076e6ea6 /functions | |
parent | eb2eb9b51e93eeb6db7860cf61518c2c432e8f94 (diff) | |
download | vyos-live-build-3645719f22d344a0f2850986bdb5e90ca79f72b0.tar.gz vyos-live-build-3645719f22d344a0f2850986bdb5e90ca79f72b0.zip |
config: stop writing 'default: <foo>' lines to config files
while helpful for users to know the defaults, the values printed as the
supposed defaults for most are actually the same values as being
configured, or in some cases a piece of text "autodetected or empty", and
thus the information is completely wrong and actually unhelpful since it
misinforms the user.
fixing this to give the real defaults is very much non-trivial.
as a workaround users wanting to know the default for an option can always:
a. use `lb config` wit no options (or auto) in a clean directory and thus
get a config with all defaults.
b. look at the live-build code.
if they just want to reset an option, they can also just comment it out.
Gbp-Dch: Short
Closes: #904614
Diffstat (limited to 'functions')
0 files changed, 0 insertions, 0 deletions