Bug 10240

Summary: Python3 runqemu doesn't support calling testimage on QEMU artefacts copied from another host/build dir
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Lock <joshuagloe>
Component: Scripts and ToolsAssignee: Joshua Lock <joshuagloe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: liezhi.yang, randy.e.witt, ross.burton
Version: 2.2   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Lock 2016-09-07 16:18:15 UTC
One use-case that used to work but no longer does in the Python 3 runqemu rewrite is to copy build artefacts and then invoke bitbake <relevant-image> -c testimage.

Because bitbake is already running the runqemu script can't call `bitbake -e` in order to determine the paths to staging directories.

The old runqemu used which to locate relevant binaries, we could add that as a fallback path in the new runqemu.
Comment 2 Joshua Lock 2016-09-09 12:48:41 UTC
Fixed in OE-Core/Poky master