bookworm: has new/separate repos for non-free-firmware (#4801) [cherry-pick]

- "Debian moved the non-free firmware into it's own sub-repository"
This commit is contained in:
Kreyren
2023-02-03 12:01:02 +00:00
committed by Ricardo Pardini
parent c2ff82b7fe
commit ec88aaf149

View File

@@ -99,7 +99,7 @@ function create_sources_list() {
EOF
;;
bullseye | bookworm | trixie)
bullseye | trixie)
cat <<- EOF > "${basedir}"/etc/apt/sources.list
deb http://${DEBIAN_MIRROR} $release main contrib non-free
#deb-src http://${DEBIAN_MIRROR} $release main contrib non-free
@@ -115,6 +115,23 @@ function create_sources_list() {
EOF
;;
bookworm)
# non-free firmware in bookworm and later has moved from the non-free archive component to a new non-free-firmware component (alongside main/contrib/non-free). This was implemented on 2023-01-27, see also https://lists.debian.org/debian-boot/2023/01/msg00235.html
cat <<- EOF > "${basedir}"/etc/apt/sources.list
deb http://${DEBIAN_MIRROR} $release main contrib non-free non-free-firmware
#deb-src http://${DEBIAN_MIRROR} $release main contrib non-free non-free-firmware
deb http://${DEBIAN_MIRROR} ${release}-updates main contrib non-free non-free-firmware
#deb-src http://${DEBIAN_MIRROR} ${release}-updates main contrib non-free non-free-firmware
deb http://${DEBIAN_MIRROR} ${release}-backports main contrib non-free non-free-firmware
#deb-src http://${DEBIAN_MIRROR} ${release}-backports main contrib non-free non-free-firmware
deb http://${DEBIAN_SECURTY} ${release}-security main contrib non-free non-free-firmware
#deb-src http://${DEBIAN_SECURTY} ${release}-security main contrib non-free non-free-firmware
EOF
;;
sid) # sid is permanent unstable development and has no such thing as updates or security
cat <<- EOF > "${basedir}"/etc/apt/sources.list
deb http://${DEBIAN_MIRROR} $release main contrib non-free