Drop extraneous sed-ing of cma= in z50-raspi-firmware hook for Pi 4 (bookworm).

Commit 3f9e671fed in the boot-consistency
branch, which requires an extension to cover the new raspi_4_bookworm
build.
This commit is contained in:
Cyril Brulebois 2021-11-20 13:51:56 +01:00
parent cba96ddb16
commit 2b2bb9d6d7
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ raspi_3_bookworm.yaml: raspi_base_bookworm.yaml
raspi_4_bookworm.yaml: raspi_base_bookworm.yaml raspi_4_bookworm.yaml: raspi_base_bookworm.yaml
cat raspi_base_bookworm.yaml | sed "s/__ARCH__/arm64/" | \ cat raspi_base_bookworm.yaml | sed "s/__ARCH__/arm64/" | \
sed "s#\(RASPIROOT.*cmdline.txt\)#\1\n sed -i 's/cma=64M //' /boot/firmware/cmdline.txt\n sed -i 's/cma=\\\$$CMA //' /etc/kernel/postinst.d/z50-raspi-firmware#" | \ sed "s#\(RASPIROOT.*cmdline.txt\)#\1\n sed -i 's/cma=64M //' /boot/firmware/cmdline.txt#" | \
sed "s/__LINUX_IMAGE__/linux-image-arm64/" | \ sed "s/__LINUX_IMAGE__/linux-image-arm64/" | \
sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \ sed "s/__EXTRA_PKGS__/- firmware-brcm80211/" | \
sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-arm64\\/broadcom\\/bcm*rpi*.dtb/" |\ sed "s/__DTB__/\\/usr\\/lib\\/linux-image-*-arm64\\/broadcom\\/bcm*rpi*.dtb/" |\