From 50b1566fa466f431a81d7d79fa54f12c54ab339b Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 21 Apr 2021 22:39:14 +0000 Subject: [PATCH] debian-minimal: bullseye: /updates -> -security With the release of Debian bullseye and later, security updates are provided in the bullseye-security suite instead of bullseye/updates. Change-Id: I63580ec96a53e5e8ef8d105e766d838029727917 --- .../debian-minimal/environment.d/10-debian-minimal.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diskimage_builder/elements/debian-minimal/environment.d/10-debian-minimal.bash b/diskimage_builder/elements/debian-minimal/environment.d/10-debian-minimal.bash index f393eb6c..5ed7c758 100644 --- a/diskimage_builder/elements/debian-minimal/environment.d/10-debian-minimal.bash +++ b/diskimage_builder/elements/debian-minimal/environment.d/10-debian-minimal.bash @@ -13,15 +13,16 @@ export DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-http://deb.debian.org/ # choice is for people to add it separately, otherwise we use # upstream. DIB_DEBIAN_SECURITY_MIRROR=${DIB_DEBIAN_SECURITY_MIRROR:-http://security.debian.org/} -DIB_DEBIAN_SECURITY_SUBPATH=${DIB_DEBIAN_SECURITY_SUBPATH:-/updates} export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main} export DIB_DEBIAN_COMPONENTS_WS=${DIB_DEBIAN_COMPONENTS//,/ } if [ "${DIB_RELEASE}" = "bullseye" ]; then DIB_DEBIAN_SECURITY_PATH="${DIB_RELEASE}-security" + DIB_DEBIAN_SECURITY_SUBPATH=${DIB_DEBIAN_SECURITY_SUBPATH:-} else DIB_DEBIAN_SECURITY_PATH="${DIB_RELEASE}" + DIB_DEBIAN_SECURITY_SUBPATH=${DIB_DEBIAN_SECURITY_SUBPATH:-/updates} fi DIB_APT_SOURCES_CONF_DEFAULT=\