From 7ab7651301b16bbbf0293e2743c7c68f40a84729 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 23 May 2017 15:35:37 +0200 Subject: [PATCH] TT#16679 Enable stretch-security mirror in sources.list, now being available The mirror: deb https://debian-security.sipwise.com/debian-security/ stretch-security main contrib non-free is available nowadays. Noticed during review of debian-debug situation. Change-Id: I7497744afe2430c6848c2b8b39e68bcfba009dc2 --- deployment.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/deployment.sh b/deployment.sh index e90c577..b86604b 100644 --- a/deployment.sh +++ b/deployment.sh @@ -1350,14 +1350,7 @@ cat > /etc/debootstrap/etc/apt/sources.list << EOF deb ${MIRROR} ${DEBIAN_RELEASE} main contrib non-free EOF -# drop this once Debian/stretch has security support (AKA released as stable) -if [ "$DEBIAN_RELEASE" = "stretch" ] ; then - echo "Warning: not enabling security repository for $DEBIAN_RELEASE" - logit "Warning: not enabling security repository for $DEBIAN_RELEASE" -else - echo "deb ${SEC_MIRROR} ${DEBIAN_RELEASE}-security main contrib non-free" >> /etc/debootstrap/etc/apt/sources.list -fi - +echo "deb ${SEC_MIRROR} ${DEBIAN_RELEASE}-security main contrib non-free" >> /etc/debootstrap/etc/apt/sources.list echo "deb ${MIRROR} ${DEBIAN_RELEASE}-updates main contrib non-free" >> /etc/debootstrap/etc/apt/sources.list if [ -n "$PUPPET" ] ; then