diff options
author | James Simpson <james.simpson@canonical.com> | 2022-11-09 14:33:19 +0800 |
---|---|---|
committer | jsimpso <james.simpson@canonical.com> | 2022-11-09 14:33:19 +0800 |
commit | f4bc652b3ae761a7d82dcff3b177b0d7601cec7e (patch) | |
tree | 90177a9d3b1557f13922f1412c896fa7466a71bd /scripts | |
parent | 1e4e65f55ba7cc19f78a28f32814877cf2cf2212 (diff) | |
download | vyos-build-f4bc652b3ae761a7d82dcff3b177b0d7601cec7e.tar.gz vyos-build-f4bc652b3ae761a7d82dcff3b177b0d7601cec7e.zip |
T4796: Prefer mix-in config over default config
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-vyos-image | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image index 5242a7dd..c53a79e9 100755 --- a/scripts/build-vyos-image +++ b/scripts/build-vyos-image @@ -216,15 +216,15 @@ if __name__ == "__main__": ## Load the flavor file and mix-ins with open(make_toml_path(defaults.BUILD_TYPES_DIR, build_config["build_type"]), 'r') as f: build_type_config = toml.load(f) - build_config = merge_dicts(build_config, build_type_config) + build_config = merge_dicts(build_type_config, build_config) with open(make_toml_path(defaults.BUILD_ARCHES_DIR, build_config["architecture"]), 'r') as f: build_arch_config = toml.load(f) - build_config = merge_dicts(build_config, build_arch_config) + build_config = merge_dicts(build_arch_config, build_config) with open(make_toml_path(defaults.BUILD_FLAVORS_DIR, build_config["build_flavor"]), 'r') as f: flavor_config = toml.load(f) - build_config = merge_dicts(build_config, flavor_config) + build_config = merge_dicts(flavor_config, build_config) ## Rename and merge some fields for simplicity ## E.g. --custom-packages is for the user, but internally |