Enable security updates for Bullseye images

This commit is contained in:
Gunnar Wolf 2021-05-07 12:58:56 -05:00
parent 44b845e83f
commit e826d97050
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@ raspi_base_buster.yaml: raspi_master.yaml
cat raspi_master.yaml | \ cat raspi_master.yaml | \
sed "s/__FIRMWARE_PKG__/raspi3-firmware/" | \ sed "s/__FIRMWARE_PKG__/raspi3-firmware/" | \
sed "s/__RELEASE__/buster/" |\ sed "s/__RELEASE__/buster/" |\
sed "s/__SECURITY_SUITE__/buster\/updates/" |\
grep -v '__EXTRA_SHELL_CMDS__' > $@ grep -v '__EXTRA_SHELL_CMDS__' > $@
raspi_1_buster.yaml: raspi_base_buster.yaml 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/__RELEASE__/bullseye/" |\
sed "s/__FIRMWARE_PKG__/raspi-firmware/" | \ sed "s/__FIRMWARE_PKG__/raspi-firmware/" | \
grep -v "__OTHER_APT_ENABLE__" |\ 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 raspi_1_bullseye.yaml: raspi_base_bullseye.yaml
cat raspi_base_bullseye.yaml | sed "s/__ARCH__/armel/" | \ cat raspi_base_bullseye.yaml | sed "s/__ARCH__/armel/" | \

View File

@ -52,7 +52,7 @@ steps:
trailing-newline: '1' trailing-newline: '1'
contents: | contents: |
deb http://deb.debian.org/debian __RELEASE__ main contrib non-free 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. # Backports are _not_ enabled by default.
# Enable them by uncommenting the following line: # Enable them by uncommenting the following line:
# deb http://deb.debian.org/debian __RELEASE__-backports main contrib non-free # deb http://deb.debian.org/debian __RELEASE__-backports main contrib non-free