From: Chen Qi Date: Fri, 20 Mar 2026 07:15:48 +0000 (-0700) Subject: runqemu: fix the checking of STAGING_BINDIR_NATIVE X-Git-Tag: yocto-6.0_M3~284 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a9bdbd4c77b50da816d161c5d84f608fb4f6df4;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git runqemu: fix the checking of STAGING_BINDIR_NATIVE 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 Signed-off-by: Richard Purdie --- 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: