[oe-commits] Paul Eggleton : devtool: runqemu: avoid recipe parse

git at git.openembedded.org git at git.openembedded.org
Thu Sep 24 16:55:50 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 84172ff7b325f081dba6430fd27f12e3745838b5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=84172ff7b325f081dba6430fd27f12e3745838b5

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Wed Sep 23 11:05:24 2015 +0100

devtool: runqemu: avoid recipe parse

We only need the base configuration to get the variable values we want
to get here, there's no need to parse recipes / load the cache.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/lib/devtool/runqemu.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/runqemu.py b/scripts/lib/devtool/runqemu.py
index 4d08d8c..5282afb 100644
--- a/scripts/lib/devtool/runqemu.py
+++ b/scripts/lib/devtool/runqemu.py
@@ -29,7 +29,7 @@ logger = logging.getLogger('devtool')
 def runqemu(args, config, basepath, workspace):
     """Entry point for the devtool 'runqemu' subcommand"""
 
-    tinfoil = setup_tinfoil(basepath=basepath)
+    tinfoil = setup_tinfoil(config_only=True, basepath=basepath)
     machine = tinfoil.config_data.getVar('MACHINE', True)
     bindir_native = tinfoil.config_data.getVar('STAGING_BINDIR_NATIVE', True)
     tinfoil.shutdown()



More information about the Openembedded-commits mailing list