summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2023-02-12 13:01:55 +0100
committerHolger Paradies <retabell@gmx.de>2024-02-25 13:50:56 +0100
commit0a4134d8773b68f6f714017a33c8aa3687d0e833 (patch)
treebeb22c60f3c20f53376e703d25f2aaa344984163
parent3eeb861940a51d94a5e16745fb30d5d12b96e630 (diff)
downloadkanotix-0a4134d8773b68f6f714017a33c8aa3687d0e833.zip
kanotix-0a4134d8773b68f6f714017a33c8aa3687d0e833.tar.gz
New archive area "non-free-firmware"
-rwxr-xr-xconfig/chroot_local-hooks/00-sources.list5
-rw-r--r--config/chroot_local-includes/etc/apt/sources.list4
2 files changed, 7 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/00-sources.list b/config/chroot_local-hooks/00-sources.list
index d81ce7c..dd00e5a 100755
--- a/config/chroot_local-hooks/00-sources.list
+++ b/config/chroot_local-hooks/00-sources.list
@@ -26,6 +26,11 @@ case "${LB_DISTRIBUTION}" in
wheezy|jessie|stretch|buster) sed -i -e "s|-security||g" /etc/apt/sources.list ;;
esac
+# since bookworm we have the new component "non-free-firmware" in archive
+case "${LB_DISTRIBUTION}" in
+ wheezy|jessie|stretch|buster|bullseye) sed -i -e "s|non-free-firmware||g" /etc/apt/sources.list ;;
+esac
+
# fix for archive
if [ "$LB_DISTRIBUTION" = "wheezy" ]; then
sed -i -e "s#${LB_MIRROR_CHROOT}#http://archive.debian.org/debian#g" /etc/apt/sources.list
diff --git a/config/chroot_local-includes/etc/apt/sources.list b/config/chroot_local-includes/etc/apt/sources.list
index 8f05a89..436a391 100644
--- a/config/chroot_local-includes/etc/apt/sources.list
+++ b/config/chroot_local-includes/etc/apt/sources.list
@@ -3,8 +3,8 @@
# CDROMs are managed through the apt-cdrom tool.
# Debian @DISTRIBUTION@
-deb @MIRRORDUMMY@ @DISTRIBUTION@ main contrib non-free
-deb-src @MIRRORDUMMY@ @DISTRIBUTION@ main contrib non-free
+deb @MIRRORDUMMY@ @DISTRIBUTION@ main contrib non-free non-free-firmware
+deb-src @MIRRORDUMMY@ @DISTRIBUTION@ main contrib non-free non-free-firmware
# Debian @DISTRIBUTION@ Updates
deb http://security.debian.org @DISTRIBUTION@-security/updates main contrib non-free