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 | 416ecea93b4f03964eda70f773c29922568f27fa (patch) | |
tree | f30ccb33834ab0471e4498c0f7c6c6f356f35d86 /lib | |
parent | ee43e8e8d66f3589a7e4a1a66e0881c105355383 (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 |