summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsskaje <sskaje@gmail.com>2023-03-29 16:49:32 +0800
committersskaje <sskaje@gmail.com>2023-03-29 16:49:32 +0800
commitbf66214dad7a7d9830f89cc3bd5405fc58a4497d (patch)
tree708d982e1ef4c72418d072b317c8b705a0975d6e
parentd68bda6a295ba9c1857c27d85c8e04b022acce04 (diff)
downloadvyos-build-bf66214dad7a7d9830f89cc3bd5405fc58a4497d.tar.gz
vyos-build-bf66214dad7a7d9830f89cc3bd5405fc58a4497d.zip
T5122: Move archive-areas to defaults.toml to support non-free-firmware repository
-rw-r--r--data/defaults.toml2
-rwxr-xr-xscripts/build-vyos-image2
2 files changed, 3 insertions, 1 deletions
diff --git a/data/defaults.toml b/data/defaults.toml
index 01551111..bbdf65e9 100644
--- a/data/defaults.toml
+++ b/data/defaults.toml
@@ -7,6 +7,8 @@ debian_distribution = "bookworm"
debian_mirror = "http://deb.debian.org/debian"
debian_security_mirror = "http://deb.debian.org/debian-security"
+debian_archive_areas = "main contrib non-free"
+
vyos_mirror = "http://dev.packages.vyos.net/repositories/current"
vyos_branch = "current"
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image
index f09791d9..b3b3fc77 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -439,7 +439,7 @@ if __name__ == "__main__":
--mirror-chroot-security {{debian_security_mirror}} \
--mirror-binary {{debian_mirror}} \
--mirror-binary-security {{debian_security_mirror}} \
- --archive-areas "main contrib non-free" \
+ --archive-areas {{debian_archive_areas}} \
--firmware-chroot false \
--firmware-binary false \
--updates true \