]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqemu: fix the checking of STAGING_BINDIR_NATIVE
authorChen Qi <Qi.Chen@windriver.com>
Fri, 20 Mar 2026 07:15:48 +0000 (00:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2026 10:19:03 +0000 (10:19 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu

index 00ff77a0ed7a2db4a84d831cb32f466fbedff0f1..2c126e7f54e57a892c04bc7a10c6e9c1869a3696 100755 (executable)
@@ -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: