summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Brulebois <cyril@debamax.com>2021-07-17 19:59:08 +0200
committerCyril Brulebois <cyril@debamax.com>2021-08-22 23:05:01 +0200
commit3058cf8e8289c9dba69f635384375d50972382db (patch)
tree80dd7a088dbe921c05608c4a783bcb9bd14d4d46
parent45cb5619d4505c73dc3bb6370eabd3eb0653911c (diff)
Run sed on rpi-reconfigure-raspi-firmware.service within $ROOT.
This fixes the build of all buster-based images (regression in feb61f3361ea2db92b5f12a68f1365cbee2799b4).
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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