From: Qi.Chen@windriver.com
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][PATCH V2] runqemu: fix the checking of STAGING_BINDIR_NATIVE
Date: Fri, 20 Mar 2026 00:15:48 -0700 [thread overview]
Message-ID: <20260320071548.859091-1-Qi.Chen@windriver.com> (raw)
In-Reply-To: <20260319043625.3641522-1-Qi.Chen@windriver.com>
From: Chen Qi <Qi.Chen@windriver.com>
In previous patch[1], the os.path.exists was accidently called twice.
This is incorrect.
[1] https://git.openembedded.org/openembedded-core/commit/?id=972155bbee02dd8061fee9c07a40f8e9034b9a3c
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
scripts/runqemu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 00ff77a0ed..2c126e7f54 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1004,7 +1004,7 @@ to your build configuration.
# If the STAGING_BINDIR_NATIVE directories from the config file don't exist
# and we're in a sourced OE build directory try to extract the paths
# from `bitbake -e`
- havenative = os.path.exists(os.path.exists(self.get('STAGING_BINDIR_NATIVE')))
+ havenative = os.path.exists(self.get('STAGING_BINDIR_NATIVE'))
if not havenative:
if not self.bitbake_e:
--
2.49.0
prev parent reply other threads:[~2026-03-20 7:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 4:36 [OE-core][PATCH] fixup! runqemu: restore support to run inside SDK Qi.Chen
2026-03-19 11:38 ` Paul Barker
2026-03-20 7:10 ` ChenQi
2026-03-20 7:15 ` Qi.Chen [this message]
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=20260320071548.859091-1-Qi.Chen@windriver.com \
--to=qi.chen@windriver.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox