summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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