From 3058cf8e8289c9dba69f635384375d50972382db Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sat, 17 Jul 2021 19:59:08 +0200 Subject: [PATCH] Run sed on rpi-reconfigure-raspi-firmware.service within $ROOT. This fixes the build of all buster-based images (regression in feb61f3361ea2db92b5f12a68f1365cbee2799b4). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2a3e927..1dcdd70 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\/ \/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