From: Trevor Woerner <twoerner@gmail.com>
To: yocto-patches@lists.yoctoproject.org
Subject: [meta-rockchip][PATCH] fix sed invocation
Date: Tue, 4 Nov 2025 12:45:16 -0500 [thread overview]
Message-ID: <20251104174516.31259-1-twoerner@gmail.com> (raw)
"sed -ie" is different than "sed -i -e". Although both run the script on
the intended file in-place, the first one creates a backup. These two
were accidentally merged into one option which can sometimes work, but
not in this case.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
.../rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend b/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend
index 323b63b01f40..82dec84a8d5c 100644
--- a/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend
+++ b/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend
@@ -5,5 +5,5 @@ PACKAGE_ARCH:rk-rauc-demo = "${MACHINE_ARCH}"
FILESEXTRAPATHS:prepend:rk-rauc-demo := "${THISDIR}/files:"
do_install:prepend:rk-rauc-demo() {
- sed -ie 's!@MACHINE@!${MACHINE}!g' ${UNPACKDIR}/system.conf
+ sed -i -e 's!@MACHINE@!${MACHINE}!g' ${UNPACKDIR}/system.conf
}
--
2.51.0.193.g4975ec3473b4
next reply other threads:[~2025-11-04 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-04 17:45 Trevor Woerner [this message]
2025-11-04 17:56 ` [yocto-patches] [meta-rockchip][PATCH] fix sed invocation Quentin Schulz
2025-11-05 13:53 ` Trevor Woerner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251104174516.31259-1-twoerner@gmail.com \
--to=twoerner@gmail.com \
--cc=yocto-patches@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.