summaryrefslogtreecommitdiffstats
path: root/lib/debian-releases.mk
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2019-12-02 17:28:09 +0100
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-02-26 12:31:30 +0100
commitc00c77714887ab7d1c62fc9a2d0008191d202874 (patch)
tree0c072b539fb800feda809c73725bd722cfebb4bb /lib/debian-releases.mk
parent95d941e6e825a7e5a78933fd6c6db0b08cf3f65f (diff)
Makefile: don't hardcode Debian releases
Diffstat (limited to 'lib/debian-releases.mk')
-rw-r--r--lib/debian-releases.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debian-releases.mk b/lib/debian-releases.mk
index d09ac33be0..ecb72a23a6 100644
--- a/lib/debian-releases.mk
+++ b/lib/debian-releases.mk
@@ -9,8 +9,8 @@ endef
# available.
# Cf. as well https://bugs.debian.org/664866
#BACKPORT_RELEASES := $(OLDSTABLE) $(STABLE)
-SECURITY_RELEASES := $(OLDOLDSTABLE) $(OLDSTABLE) $(STABLE) $(TESTING)
-MAIN_RELEASES := $(SECURITY_RELEASES) sid
+MAIN_RELEASES = $(call get_config, '.distributions | to_entries[] | select(.value.release) | .key')
+SECURITY_RELEASES = $(filter-out sid, $(MAIN_RELEASES))
# Define the variables for the release on the main mirror
define add_main_release =

© 2014-2024 Faster IT GmbH | imprint | privacy policy