diff options
-rwxr-xr-x | auto/config | 2 | ||||
-rwxr-xr-x | config/chroot_local-hooks/00-sources.list | 5 | ||||
-rw-r--r-- | config/chroot_local-includes/etc/apt/sources.list | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/auto/config b/auto/config index a588400..b918195 100755 --- a/auto/config +++ b/auto/config @@ -40,7 +40,7 @@ buster) ;; bullseye) KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano" - KSECURITY="false" + KSECURITY="true" ;; *) KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano" 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 |