[OE-core] [PATCH 01/14] devtool: minor fix for error message

Khem Raj raj.khem at gmail.com
Sat Feb 20 19:16:32 UTC 2016


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"

>              else:
>                  raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout))
>
> --
> 2.5.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list