summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-09-22 17:21:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:53:18 +0100
commitd7365185fe4fe8b5699b0464f1e2b758180f74e0 (patch)
tree2c8d67d0b31d23e101bb2cf87bf1d38e828a4496 /scripts/lib/devtool/standard.py
parent3bd0f335058208ce29caffd25391fb023c2d719f (diff)
downloadpoky-d7365185fe4fe8b5699b0464f1e2b758180f74e0.tar.gz
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. (From OE-Core rev: 97398d14c444fe2408dd6101ef46a0a406924bb5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r--scripts/lib/devtool/standard.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 4a05c1d2e0..c254132423 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -96,7 +96,6 @@ def add(args, config, basepath, workspace):
96 extracmdopts += ' -V %s' % args.version 96 extracmdopts += ' -V %s' % args.version
97 try: 97 try:
98 stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, recipefile, source, extracmdopts)) 98 stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, recipefile, source, extracmdopts))
99 logger.info('Recipe %s has been automatically created; further editing may be required to make it fully functional' % recipefile)
100 except bb.process.ExecutionError as e: 99 except bb.process.ExecutionError as e:
101 raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout)) 100 raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout))
102 101
@@ -128,6 +127,8 @@ def add(args, config, basepath, workspace):
128 127
129 _add_md5(config, args.recipename, appendfile) 128 _add_md5(config, args.recipename, appendfile)
130 129
130 logger.info('Recipe %s has been automatically created; further editing may be required to make it fully functional' % recipefile)
131
131 tinfoil.shutdown() 132 tinfoil.shutdown()
132 133
133 return 0 134 return 0