diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-07-06 15:39:19 +0200 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-07-06 19:10:28 +0200 |
commit | 7fb4d7a790a68f03448bb3b02388955f58c4b0a2 (patch) | |
tree | d17a0a4b27b0d753f723582965b75deda6210acb /lib | |
parent | 851f04f376302adf93dec320f1091a7f7369b372 (diff) |
Adjust dist directory on security archives for distribution
Starting with bullseye the distribution/suite are switched to *-security
instead of */updates for consistency through the Debian archives.
See: https://lists.debian.org/debian-security/2019/06/msg00015.html for
details and the intention to switch.
Thanks: Ansgar Burchardt
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debian-releases.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/debian-releases.mk b/lib/debian-releases.mk index 4fe8605914..64ac6ca213 100644 --- a/lib/debian-releases.mk +++ b/lib/debian-releases.mk @@ -17,9 +17,17 @@ endef $(foreach release,$(MAIN_RELEASES),$(eval $(call add_main_release,$(release)))) # Define the variables for the releases on security.debian.org +# https://lists.debian.org/debian-security/2019/06/msg00015.html +# $(1)_security_DIST contains special casing for releases starting +# with bullseye releases. After all of jessie, stretch and buster +# are not anymore supported the case can be removed. define add_security_release = $(1)_security_MIRROR = $$(SECURITY_MIRROR) +ifneq (,$(filter jessie stretch buster,$(1))) $(1)_security_DIST = $(1)/updates +else +$(1)_security_DIST = $(1)-security +endif $(1)_security_ARCHS = $$($(1)_ARCHS) $(1)_security_RELEASE = $(1) $(1)_security_SUBRELEASE = security |