summaryrefslogtreecommitdiffstats
path: root/lib
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
commit23baa13154527d34ced94c80d7d18620c5ba80f2 (patch)
treec41497f6829e73543f9ff925d4d7f8207e76aaca /lib
parent0d22e6b8aed18a81f2249376f6d78e2de8d25348 (diff)
Makefile: don't hardcode Debian releases
Diffstat (limited to 'lib')
-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