From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>,
Adriaan Schmidt <adriaan.schmidt@siemens.com>
Subject: [PATCH] multiarch: Add missing space in BPN append
Date: Thu, 14 Mar 2024 10:56:20 +0200 [thread overview]
Message-ID: <20240314085620.3866335-1-amikan@ilbers.de> (raw)
Adding values must be done with a leading space.
Fixes: f50237eb059c ("multiarch: Fix SRC_URI:remove ignoring")
Reported-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta/classes/multiarch.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/multiarch.bbclass b/meta/classes/multiarch.bbclass
index d92421d8..5783b0bf 100644
--- a/meta/classes/multiarch.bbclass
+++ b/meta/classes/multiarch.bbclass
@@ -51,7 +51,7 @@ python multiarch_virtclass_handler() {
v = d.getVar(var, expand=False)
if v is not None and '${PN}' in v:
d.setVar(var + ':remove', v)
- d.appendVar(var, v.replace('${PN}', '${BPN}'))
+ d.appendVar(var, ' ' + v.replace('${PN}', '${BPN}'))
# When building compat/native, the corresponding suffix needs to be
# propagated to all bitbake dependency definitions.
--
2.34.1
next reply other threads:[~2024-03-14 8:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 8:56 Anton Mikanovich [this message]
2024-03-18 13:06 ` Uladzimir Bely
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=20240314085620.3866335-1-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=adriaan.schmidt@siemens.com \
--cc=isar-users@googlegroups.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox