Enable stable-proposed-updates for building images for RPi 0/1 families
This commit is contained in:
parent
f1445d5f28
commit
3cdd8af08d
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
|
@ -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: /
|
||||
|
|
Loading…
Reference in New Issue