summaryrefslogtreecommitdiff
path: root/build-vyos-image
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2024-05-15 16:48:35 +0300
committerzsdc <taras@vyos.io>2024-05-15 16:48:35 +0300
commit8186e82024cdeee9c6fd09bdd0603f4571842f42 (patch)
tree70323b1a05718007f51ca989791255b922b8d3a4 /build-vyos-image
parenteff3d4aab60d5db66cf7dbb5876d66f9e3e3e715 (diff)
downloadvyos-build-8186e82024cdeee9c6fd09bdd0603f4571842f42.tar.gz
vyos-build-8186e82024cdeee9c6fd09bdd0603f4571842f42.zip
build-script: T3664: Allowed all options in both config file and command args
Moved defaults away from argparser to `defaults.py`. This unlocks the ability to pass values that can be defined as command line arguments via a config file. With this change logic looks like this (in order of overrides). Pre-build config: `data/defaults.toml` -> `build-flavors/<flavor>.toml` -> `--<command line argument>` Build config: `defaults.py` -> `data/defaults.toml` -> `build-types/<type>.toml` -> `architectures/<architecture>.toml` -> `build-flavors/<flavor>.toml` -> `--<command line argument>`
Diffstat (limited to 'build-vyos-image')
0 files changed, 0 insertions, 0 deletions