summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGunnar Wolf <gwolf@gwolf.org>2021-01-14 13:32:44 -0600
committerGunnar Wolf <gwolf@gwolf.org>2021-01-14 13:32:44 -0600
commiteac6b11833e43821209d5288bb34b7de10180f3a (patch)
tree4d381f338b7439a9c71d0fc925b27e84ae741df1 /Makefile
parent85126a95030d7fe837d195dd9252d852378ca647 (diff)
Skip the debian-security repositories when building images for testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fdc09fb..9afde9f 100644
--- a/Makefile
+++ b/Makefile
@@ -57,8 +57,8 @@ raspi_armel_bullseye.yaml: raspi_master.yaml
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-rpi\\/bcm*rpi-*.dtb/" |\
sed "s/__RELEASE__/bullseye/" |\
grep -v "__OTHER_APT_ENABLE__" |\
- grep -v 'deb.debian.org/debian-security' | \
- sed "s/__HOST__/rpi_armel/" > $@
+ sed -e '/debian-security/ s/deb/# Uncomment after Bullseye becomes stable → deb/' |\
+ sed "s/__HOST__/rpi-armel/" > $@
raspi_armhf_bullseye.yaml: raspi_master.yaml
cat raspi_master.yaml | sed "s/__ARCH__/armhf/" | \
@@ -67,7 +67,8 @@ raspi_armhf_bullseye.yaml: raspi_master.yaml
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-armmp\\/bcm*rpi*.dtb/" |\
sed "s/__OTHER_APT_ENABLE__//" |\
sed "s/__RELEASE__/bullseye/" |\
- sed "s/__HOST__/rpi_armhf/" > $@
+ sed -e '/debian-security/ s/deb/# Uncomment after Bullseye becomes stable → deb/' |\
+ sed "s/__HOST__/rpi-armhf/" > $@
raspi_arm64_bullseye.yaml: raspi_master.yaml
cat raspi_master.yaml | sed "s/__ARCH__/arm64/" | \
@@ -76,8 +77,8 @@ raspi_arm64_bullseye.yaml: raspi_master.yaml
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-arm64\\/broadcom\\/bcm*rpi*.dtb/" |\
sed "s/__OTHER_APT_ENABLE__//" |\
sed "s/__RELEASE__/bullseye/" |\
- grep -v 'deb.debian.org/debian-security' | \
- sed "s/__HOST__/rpi_arm64/" > $@
+ sed -e '/debian-security/ s/deb/# Uncomment after Bullseye becomes stable → deb/' |\
+ sed "s/__HOST__/rpi-arm64/" > $@
%.sha256: %.img.xz
echo $@