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.

(From OE-Core rev: b2677a4448dbc42e523c731b953b44006749252c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2016-03-21 18:14:03 +13:00 committed by Richard Purdie
parent eab3f06e39
commit 552a68ad1c
1 changed files with 1 additions and 1 deletions

View File

@ -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