[poky] [patch] yocto-bsp: Add missing format specifier in bblayers error message
Tom Zanussi
tom.zanussi at intel.com
Wed Nov 13 11:34:04 PST 2013
On Wed, 2013-11-13 at 20:21 +0100, Bastien JAUNY wrote:
> If the build environment is misconfigured (e.g. a bad path
> for a layer in bblayers.conf) the yocto-bsp script crashes with a
> standard python error, not very explicit. This fixes the problem.
>
> Signed-off-by: Bastien JAUNY <bastien.jauny at gmail.com>
>
Acked-by: Tom Zanussi <tom.zanussi at linux.intel.com>
> ---
> scripts/lib/bsp/kernel.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py
> index 5696ca7..ba68b60 100644
> --- a/scripts/lib/bsp/kernel.py
> +++ b/scripts/lib/bsp/kernel.py
> @@ -62,7 +62,7 @@ def find_bblayers():
> break
>
> if not bblayers:
> - print "Couldn't find BBLAYERS in 'bitbake -e' output, exiting."
> % \
> + print "Couldn't find BBLAYERS in %s output, exiting." % \
> bitbake_env_cmd
> sys.exit(1)
>
More information about the poky
mailing list