Enable stable-proposed-updates for building images for RPi 0/1 families

This commit is contained in:
Gunnar Wolf 2020-04-10 00:22:30 -05:00
parent f1445d5f28
commit 3cdd8af08d
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@ raspi_0w.yaml: raspi_master.yaml
sed "s/__LINUX_IMAGE__/linux-image-rpi/" | \
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-rpi\\/bcm*rpi-*.dtb/" |\
sed "s/__SPU_ENABLE__/echo 'deb http:\/\/deb.debian.org\/debian\/ stable-proposed-updates main' >> \/etc\/apt\/sources.list # Raspberries 0\/1 need raspi3-firmware >= 1.20190215-1+deb10u3/" |\
sed "s/__HOST__/rpi0/" > $@
raspi_2.yaml: raspi_master.yaml
@ -13,6 +14,7 @@ raspi_2.yaml: raspi_master.yaml
sed "s/__LINUX_IMAGE__/linux-image-armmp/" | \
grep -v "__EXTRA_PKGS__" | \
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-armmp\\/bcm*rpi*.dtb/" |\
sed "s/__SPU_ENABLE__//" |\
sed "s/__HOST__/rpi2/" > $@
raspi_3.yaml: raspi_master.yaml
@ -20,6 +22,7 @@ raspi_3.yaml: raspi_master.yaml
sed "s/__LINUX_IMAGE__/linux-image-arm64/" | \
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-arm64\\/broadcom\\/bcm*rpi*.dtb/" |\
sed "s/__SPU_ENABLE__//" |\
sed "s/__HOST__/rpi3/" > $@
raspi_0w.img : IMAGE=raspi_0w

View File

@ -56,6 +56,7 @@ steps:
# Backports are _not_ enabled by default.
# Enable them by uncommenting the following line:
# deb http://deb.debian.org/debian buster-backports main contrib non-free
__SPU_ENABLE__
unless: rootfs_unpacked
- chroot: /