summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/utils
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-04-05 00:03:05 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-14 12:38:26 +0100
commitf68576d4c9cecbe7122325d7fc78c9b27ff07a8e (patch)
treeb860e2e90a8749b925d6ff734e1cf92fec3eac3b /scripts/lib/wic/utils
parent76adf38c0d8e0faf04a5ecb3fcfbe831c85bb81f (diff)
downloadopenembedded-core-f68576d4c9cecbe7122325d7fc78c9b27ff07a8e.tar.gz
openembedded-core-f68576d4c9cecbe7122325d7fc78c9b27ff07a8e.tar.bz2
openembedded-core-f68576d4c9cecbe7122325d7fc78c9b27ff07a8e.zip
wic: Print bitbake error output
Added bitbake error output to wic error message to make it more descriptive. [YOCTO #6911] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils')
-rw-r--r--scripts/lib/wic/utils/oe/misc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py
index 119f07276e..2f5299dae4 100644
--- a/scripts/lib/wic/utils/oe/misc.py
+++ b/scripts/lib/wic/utils/oe/misc.py
@@ -144,6 +144,7 @@ def find_bitbake_env_lines(image_name):
rc, bitbake_env_lines = __exec_cmd(bitbake_env_cmd)
if rc != 0:
print "Couldn't get '%s' output." % bitbake_env_cmd
+ print "Bitbake failed with error:\n%s\n" % bitbake_env_lines
return None
return bitbake_env_lines