mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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:
@@ -99,7 +99,7 @@ function create_sources_list() {
|
|||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
bullseye | bookworm | trixie)
|
bullseye | trixie)
|
||||||
cat <<- EOF > "${basedir}"/etc/apt/sources.list
|
cat <<- EOF > "${basedir}"/etc/apt/sources.list
|
||||||
deb http://${DEBIAN_MIRROR} $release main contrib non-free
|
deb http://${DEBIAN_MIRROR} $release main contrib non-free
|
||||||
#deb-src 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
|
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
|
sid) # sid is permanent unstable development and has no such thing as updates or security
|
||||||
cat <<- EOF > "${basedir}"/etc/apt/sources.list
|
cat <<- EOF > "${basedir}"/etc/apt/sources.list
|
||||||
deb http://${DEBIAN_MIRROR} $release main contrib non-free
|
deb http://${DEBIAN_MIRROR} $release main contrib non-free
|
||||||
|
|||||||
Reference in New Issue
Block a user