]> code.ossystems Code Review - openembedded-core.git/commit
devtool: runqemu: work around runqemu script path assumption
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 18 Oct 2016 02:51:16 +0000 (15:51 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Oct 2016 21:39:57 +0000 (22:39 +0100)
commitabff69a48bf3076ce8e21356accdc8d85d2c8dbf
treeba0b97844235fe7fcd314b657b138165d46fe5b1
parent1886ab2f1dc1e3b5758a85604998e8deb9198f5e
devtool: runqemu: work around runqemu script path assumption

The new runqemu script assumes that if OECORE_NATIVE_SYSROOT is set then
it shouldn't try to run bitbake to find out the values of various
variables such as DEPLOY_DIR_IMAGE; this assumption is incorrect for the
extensible SDK. To work around this, clear OECORE_NATIVE_SYSROOT in the
environment when running runqemu.

Fixes [YOCTO #10447].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/runqemu.py