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 | 971d83cb8ff75efa091316ecfbfa690d428540fe (patch) | |
tree | 92763767e0acf399009897413621b8f43a139250 /lib/debian-releases.mk | |
parent | ca6498ff8acf971c788329ca61fbb6b1b6fd18c9 (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/debian-releases.mk')
-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 |