Page MenuHomeVyOS Platform

Move "archive-areas" to defaults.toml to support "non-free-firmware" repository
Closed, ResolvedPublicFEATURE REQUEST

Description

https://wiki.debian.org/Firmware

The Debian project has taken the decision in 2022-10 to create a new repository component non-free-firmware, and include its content on installation media for the upcoming Debian release bookworm to make things easier for our users.

raspi-firmware is in non-free-firmware since bookwrom
https://packages.debian.org/search?keywords=raspi-firmware

Bookworm repositories on deb.debian.org: https://deb.debian.org/debian/dists/bookworm/

My patches:

@@ -439,7 +456,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 \
diff --git a/data/defaults.toml b/data/defaults.toml
index 0155111..bbdf65e 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"

Details

Difficulty level
Unknown (require assessment)
Version
1.4-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

sskaje created this object in space S1 VyOS Public.
Viacheslav changed the task status from Open to Needs testing.Mar 29 2023, 9:15 AM

My fault, the double quotes were mis-removed in the PR when cleaning code.

What should I do? Start another PR?

Affected code:

+            --archive-areas "{{debian_archive_areas}}" \
Viacheslav changed the subtype of this task from "Task" to "Feature Request".Apr 10 2023, 2:37 PM
Viacheslav changed the task status from Needs testing to In progress.Jan 20 2024, 12:16 PM
Viacheslav triaged this task as Normal priority.