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
commit2d23bf8fb7c978995cc9e194107eb938ff4c2236 (patch)
treed4ac202a69a81dcf8af36e6f9a7ce385ab39c50b /lib/debian-releases.mk
parent15e30ba8b8e8516255151bbda33e2dabc8c14232 (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