From 7aed761507b2ca7d04aee1fb75b662522922a587 Mon Sep 17 00:00:00 2001 From: Diederik de Haas Date: Thu, 9 Sep 2021 00:23:05 +0200 Subject: [PATCH] Change 'sed' separator to '#'. For (at least) rpi4 Buster target, it gets replaced (again) by a package from backports, resulting in /backports, making the sed statement invalid. That isn't the case when using '#' as separator. Signed-off-by: Diederik de Haas --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d41c60c..f3830a0 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ raspi_base_buster.yaml: raspi_master.yaml sed "s/__FIRMWARE_PKG__/raspi3-firmware/" | \ sed "s/__RELEASE__/buster/" |\ sed "s/__SECURITY_SUITE__/buster\/updates/" |\ - sed "s/__FIX_FIRMWARE_PKG_NAME__/sed -i s\/raspi-firmware\/raspi3-firmware\/ \$${ROOT?}\/etc\/systemd\/system\/rpi-reconfigure-raspi-firmware.service/" |\ + sed "s/__FIX_FIRMWARE_PKG_NAME__/sed -i s#raspi-firmware#raspi3-firmware# \$${ROOT?}\/etc\/systemd\/system\/rpi-reconfigure-raspi-firmware.service/" |\ grep -v '__EXTRA_SHELL_CMDS__' > $@ raspi_1_buster.yaml: raspi_base_buster.yaml