From 28fca502dc2c792a30e9d98eff3afdaaa72b28ea Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 13 Dec 2025 11:56:03 -0500 Subject: [PATCH] Improve sed replacements readability Signed-off-by: Hugo Villeneuve --- .../recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend b/raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend index 475cb3f..48bca0b 100644 --- a/raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend +++ b/raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend @@ -1,6 +1,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" do_compile:prepend() { - sed -i -e 's/@@ROOT_PART_A_ID@@/${ROOT_PART_A_ID}/' \ - "${WORKDIR}/boot.cmd.in" + sed -e "s!@@ROOT_PART_A_ID@@!${ROOT_PART_A_ID}!g" \ + -i "${WORKDIR}/boot.cmd.in" } -- 2.20.1