From: Paul Eggleton Date: Mon, 21 Mar 2016 05:14:03 +0000 (+1300) Subject: devtool: configure-help: fix error if do_configure not already run X-Git-Tag: 2016-4~344 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b2677a4448dbc42e523c731b953b44006749252c;p=openembedded-core.git devtool: configure-help: fix error if do_configure not already run The code here for running do_configure if it hadn't already been run was using the wrong string substitution parameters; fix it and test it. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/devtool/utilcmds.py b/scripts/lib/devtool/utilcmds.py index 905d6d2b19..b761a80f8f 100644 --- a/scripts/lib/devtool/utilcmds.py +++ b/scripts/lib/devtool/utilcmds.py @@ -86,7 +86,7 @@ def configure_help(args, config, basepath, workspace): logger.info('Running do_configure to generate configure script') try: stdout, _ = exec_build_env_command(config.init_path, basepath, - 'bitbake -c configure %s' % msg, args.recipename, + 'bitbake -c configure %s' % args.recipename, stderr=subprocess.STDOUT) except bb.process.ExecutionError: pass