From e826d97050da3aa173fef86c94d525537d915b51 Mon Sep 17 00:00:00 2001 From: Gunnar Wolf Date: Fri, 7 May 2021 12:58:56 -0500 Subject: [PATCH] Enable security updates for Bullseye images --- Makefile | 3 ++- raspi_master.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a0c9f96..40b4bb4 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ raspi_base_buster.yaml: raspi_master.yaml cat raspi_master.yaml | \ sed "s/__FIRMWARE_PKG__/raspi3-firmware/" | \ sed "s/__RELEASE__/buster/" |\ + sed "s/__SECURITY_SUITE__/buster\/updates/" |\ grep -v '__EXTRA_SHELL_CMDS__' > $@ raspi_1_buster.yaml: raspi_base_buster.yaml @@ -69,7 +70,7 @@ raspi_base_bullseye.yaml: raspi_master.yaml sed "s/__RELEASE__/bullseye/" |\ sed "s/__FIRMWARE_PKG__/raspi-firmware/" | \ grep -v "__OTHER_APT_ENABLE__" |\ - sed -e '/debian-security/ s/deb/# Uncomment after Bullseye becomes stable → deb/' > $@ + sed "s/__SECURITY_SUITE__/bullseye-security/" > $@ raspi_1_bullseye.yaml: raspi_base_bullseye.yaml cat raspi_base_bullseye.yaml | sed "s/__ARCH__/armel/" | \ diff --git a/raspi_master.yaml b/raspi_master.yaml index 1def607..743ba96 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -52,7 +52,7 @@ steps: trailing-newline: '1' contents: | deb http://deb.debian.org/debian __RELEASE__ main contrib non-free - deb http://deb.debian.org/debian-security __RELEASE__/updates main contrib non-free + deb http://deb.debian.org/debian-security __SECURITY_SUITE__ main contrib non-free # Backports are _not_ enabled by default. # Enable them by uncommenting the following line: # deb http://deb.debian.org/debian __RELEASE__-backports main contrib non-free