summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2021-03-27 21:39:18 +0100
committerHolger Paradies <retabell@gmx.de>2021-03-27 23:13:33 +0100
commita2d9c6ce17dab51d6e83f08b1d42f5b228ad8413 (patch)
treef9d74e75a7ea3e1f570c112591bfd3f3fbcfcae0 /config
parenta4bd60b2064d9d5c9a58c3c534c4773b35a46a8c (diff)
downloadkanotix-a2d9c6ce17dab51d6e83f08b1d42f5b228ad8413.zip
kanotix-a2d9c6ce17dab51d6e83f08b1d42f5b228ad8413.tar.gz
Sources.list bullseye enable security
Diffstat (limited to 'config')
-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 88be772..880e38a 100755
--- a/config/chroot_local-hooks/00-sources.list
+++ b/config/chroot_local-hooks/00-sources.list
@@ -17,6 +17,11 @@ fi
sed -i -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list
+# old names
+case "${LB_DISTRIBUTION}" in
+ wheezy|jessie|stretch|buster) sed -i -e "s|-security||g" /etc/apt/sources.list ;;
+esac
+
# fix for archive
if [ "$LB_DISTRIBUTION" = "wheezy" ]; then
sed -i -e "s|ftp.de.debian.org/debian wheezy|archive.debian.org/debian wheezy|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 236ae7a..3593810 100644
--- a/config/chroot_local-includes/etc/apt/sources.list
+++ b/config/chroot_local-includes/etc/apt/sources.list
@@ -7,6 +7,6 @@ deb http://ftp.de.debian.org/debian @DISTRIBUTION@ main contrib non-free
deb-src http://ftp.de.debian.org/debian @DISTRIBUTION@ main contrib non-free
# Debian @DISTRIBUTION@ Updates
-deb http://security.debian.org @DISTRIBUTION@/updates main contrib non-free
-deb-src http://security.debian.org @DISTRIBUTION@/updates main contrib non-free
+deb http://security.debian.org @DISTRIBUTION@-security/updates main contrib non-free
+deb-src http://security.debian.org @DISTRIBUTION@-security/updates main contrib non-free