From d9edc4837d8f4599afd5ca55e4e328ff710c5113 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 27 Jan 2022 16:10:34 +0100 Subject: [PATCH] include debian-security urls for different releases --- Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index eb822cd..e11557b 100644 --- a/Makefile +++ b/Makefile @@ -41,10 +41,17 @@ KEYRING := keys/debian-archive-${release}-automatic.gpg # KEYRING := keys/debian-archive-${release}-security-automatic.gpg ifndef SOURCES -define SOURCES := -deb http://cdn.debian.net/debian ${release} main -deb http://security.debian.org/ ${release}/updates main -endef + ifdef $(filter stretch jessie buster, ${release}) + define SOURCES := + deb http://cdn.debian.net/debian ${release} main + deb https://deb.debian.org/debian-security/ ${release}/updates main + endef + else + define SOURCES := + deb http://cdn.debian.net/debian ${release} main + deb https://deb.debian.org/debian-security/ ${release}-security main + endef + endif endif ifdef disk -- 2.39.2