Commit 7fb4d7a7 authored by Salvatore Bonaccorso's avatar Salvatore Bonaccorso

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
parent 851f04f3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment