summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
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 /config/chroot_local-hooks
parent3eeb861940a51d94a5e16745fb30d5d12b96e630 (diff)
downloadkanotix-0a4134d8773b68f6f714017a33c8aa3687d0e833.zip
kanotix-0a4134d8773b68f6f714017a33c8aa3687d0e833.tar.gz
New archive area "non-free-firmware"
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/00-sources.list5
1 files changed, 5 insertions, 0 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