summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-02-19 22:38:49 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-21 09:32:42 +0000
commitdd35f69340c399f54759482fc2865874e2f8ab09 (patch)
tree25e66e8f1e94547ba4f130f5a37cefa6358f1f8a /scripts
parent41242a22b3d08e8ad8c73e9169e260955926f36b (diff)
downloadpoky-dd35f69340c399f54759482fc2865874e2f8ab09.tar.gz
devtool: minor fix for error message
There is no -N/--name option for devtool, that's a recipetool option - with devtool you just specify the name as a positional argument. (From OE-Core rev: d2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index d12cc2e222..590dfef27e 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -150,7 +150,7 @@ def add(args, config, basepath, workspace):
150 stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, tempdir, source, extracmdopts)) 150 stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, tempdir, source, extracmdopts))
151 except bb.process.ExecutionError as e: 151 except bb.process.ExecutionError as e:
152 if e.exitcode == 15: 152 if e.exitcode == 15:
153 raise DevtoolError('Unable to auto-determine name from source tree, please specify it with -N/--name') 153 raise DevtoolError('Unable to auto-determine recipe name from source tree, please specify it on the command line')
154 else: 154 else:
155 raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout)) 155 raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout))
156 156