[OE-core] [PATCH 01/14] devtool: minor fix for error message
Paul Eggleton
paul.eggleton at linux.intel.com
Sun Feb 21 19:32:05 UTC 2016
On Sat, 20 Feb 2016 11:16:32 Khem Raj wrote:
> On Fri, Feb 19, 2016 at 1:38 AM, Paul Eggleton
>
> <paul.eggleton at linux.intel.com> wrote:
> > There is no -N/--name option for devtool, that's a recipetool option -
> > with devtool you just specify the name as a positional argument.
> >
> > Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> > ---
> >
> > scripts/lib/devtool/standard.py | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/scripts/lib/devtool/standard.py
> > b/scripts/lib/devtool/standard.py index d12cc2e..590dfef 100644
> > --- a/scripts/lib/devtool/standard.py
> > +++ b/scripts/lib/devtool/standard.py
> >
> > @@ -150,7 +150,7 @@ def add(args, config, basepath, workspace):
> > stdout, _ = exec_build_env_command(config.init_path,
> > basepath, 'recipetool --color=%s create -o %s "%s" %s' %
> > (color, tempdir, source, extracmdopts))>
> > except bb.process.ExecutionError as e:
> > if e.exitcode == 15:
> > - raise DevtoolError('Unable to auto-determine name from
> > source tree, please specify it with -N/--name') + raise
> > DevtoolError('Unable to auto-determine recipe name from source tree,
> > please specify it on the command line')
> may be reword it a bit to "Could not auto detect recipe name, please
> specify on commandline"
Right, that would be better wording. I'll send a follow-up patch.
Thanks,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list