diff options
author | zsdc <taras@vyos.io> | 2024-05-15 16:48:35 +0300 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-17 13:38:51 +0000 |
commit | 31304abadbe7414f59ac7f60fef366de25bb7139 (patch) | |
tree | f4d09b45faccdcd409d95f7ebe5711d043efbc8b /packages/linux-kernel/build-openvpn-dco.sh | |
parent | 3ac9f6a8595c915faefe866646056910bed7d748 (diff) | |
download | vyos-build-31304abadbe7414f59ac7f60fef366de25bb7139.tar.gz vyos-build-31304abadbe7414f59ac7f60fef366de25bb7139.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>`
(cherry picked from commit 8186e82024cdeee9c6fd09bdd0603f4571842f42)
Diffstat (limited to 'packages/linux-kernel/build-openvpn-dco.sh')
0 files changed, 0 insertions, 0 deletions