[oe-commits] Paul Eggleton : devtool: add: move important "recipe created" message to the end
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 22 17:09:25 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 353e5f1466e41a93091f78d6fd334e95c5e022dc
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=353e5f1466e41a93091f78d6fd334e95c5e022dc
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Tue Sep 22 17:21:34 2015 +0100
devtool: add: move important "recipe created" message to the end
If we end up printing a message about the build directory being the same
as the source, we should print that first and then print the message
about the recipe file possibly needing to be edited to the end so that
it has slightly more impact.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/lib/devtool/standard.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 4a05c1d..c254132 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -96,7 +96,6 @@ def add(args, config, basepath, workspace):
extracmdopts += ' -V %s' % args.version
try:
stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, recipefile, source, extracmdopts))
- logger.info('Recipe %s has been automatically created; further editing may be required to make it fully functional' % recipefile)
except bb.process.ExecutionError as e:
raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout))
@@ -128,6 +127,8 @@ def add(args, config, basepath, workspace):
_add_md5(config, args.recipename, appendfile)
+ logger.info('Recipe %s has been automatically created; further editing may be required to make it fully functional' % recipefile)
+
tinfoil.shutdown()
return 0
More information about the Openembedded-commits
mailing list