summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBastien JAUNY <bastien.jauny@gmail.com>2013-11-13 20:21:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-21 14:20:28 +0000
commitd60b4ff3517487bd111c6d7e1410882280229377 (patch)
treeb8fbc667ac1755678f1c7a946089ee59b92cd631 /scripts
parent2674ad5b1c70769c784f52c8413661a4ac57565d (diff)
downloadpoky-d60b4ff3517487bd111c6d7e1410882280229377.tar.gz
yocto-bsp: Add missing format specifier in bblayers error message
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@gmail.com> (From meta-yocto rev: 4a8e80b812eebdc1c9570b5d88aa0f3b34824b68) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/bsp/kernel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py
index 5696ca77fb..ba68b60fcb 100644
--- a/scripts/lib/bsp/kernel.py
+++ b/scripts/lib/bsp/kernel.py
@@ -62,7 +62,7 @@ def find_bblayers():
62 break 62 break
63 63
64 if not bblayers: 64 if not bblayers:
65 print "Couldn't find BBLAYERS in 'bitbake -e' output, exiting." % \ 65 print "Couldn't find BBLAYERS in %s output, exiting." % \
66 bitbake_env_cmd 66 bitbake_env_cmd
67 sys.exit(1) 67 sys.exit(1)
68 68