diff options
| author | Bastien JAUNY <bastien.jauny@gmail.com> | 2013-11-13 19:21:14 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-13 09:14:36 +0000 |
| commit | 37e9b199a666cffe42ae4382ccb397ddad797b4d (patch) | |
| tree | dc0dd022ced0e40ae66387fb236809f1c3d1c10e | |
| parent | a410a0a6d744ea814370fd014f25984f42f16cc4 (diff) | |
| download | poky-37e9b199a666cffe42ae4382ccb397ddad797b4d.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 master rev: 4a8e80b812eebdc1c9570b5d88aa0f3b34824b68)
(From meta-yocto rev: 578e06f113d870ec6a4e201458488344ca941e3d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | scripts/lib/bsp/kernel.py | 2 |
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 | ||
