]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: fixes for when invoked during a bitbake run
authorJoshua Lock <joshua.g.lock@intel.com>
Wed, 7 Sep 2016 22:04:25 +0000 (23:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2016 11:06:53 +0000 (12:06 +0100)
commit1e8165ea2f19aecdc03ccd102ee44ef0544f0f39
tree05e5ff8049ba0caf7a97aeefc6f5f86dd46f291e
parent9326af1c20636320c70caecebd47aedafb3f2d25
runqemu: fixes for when invoked during a bitbake run

When runqemu is invoked from a running bitbake instance it will be
unable to call `bitbake -e` due to the lock held by the calling
bitbake instance.

Our test code sets an OE_TMPDIR environment variable from which we
can infer/guess paths. Add code to do so when self.bitbake_e can't
be set, much as the sh version of runqemu did.

[YOCTO #10240]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu