summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-08 10:47:20 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-08 09:57:42 +0000
commit989a4762b095dca36e1d9a2eaf471f081f10b138 (patch)
treee0f7bb471ee70b6f4667412143bc6f2498dac6e8
parenta820a0a32c5e475e215aac2abf714f995af27569 (diff)
downloadvyos-build-989a4762b095dca36e1d9a2eaf471f081f10b138.tar.gz
vyos-build-989a4762b095dca36e1d9a2eaf471f081f10b138.zip
build: T3664: fix architecture mix-in loading
(cherry picked from commit e68e7fb9f59a58f8dbf5be48fd3f94260ea57ba7)
-rwxr-xr-xscripts/image-build/build-vyos-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image
index c2d39c82..75c9d0c6 100755
--- a/scripts/image-build/build-vyos-image
+++ b/scripts/image-build/build-vyos-image
@@ -320,7 +320,7 @@ if __name__ == "__main__":
if has_nonempty_key(build_config, "architectures"):
arch = build_config["architecture"]
if arch in build_config["architectures"]:
- if has_nonempty_key(build_config["architectures"], "packages"):
+ if has_nonempty_key(build_config["architectures"][arch], "packages"):
build_config["packages"] += build_config["architectures"][arch]["packages"]
## Check if image format is specified,