summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/utils/oe
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:50 +0100
commite9fcc570716e68a64f2a17c0e7aa79e1cd758f39 (patch)
tree4229b77aa5eb2ea8b0d6e676712ff37ea3a65305 /scripts/lib/wic/utils/oe
parentea07f0325cdbeb40884aa55707b8787b63554e3e (diff)
downloadpoky-e9fcc570716e68a64f2a17c0e7aa79e1cd758f39.tar.gz
wic: Print bitbake error output
Added bitbake error output to wic error message to make it more descriptive. [YOCTO #6911] (From OE-Core rev: f68576d4c9cecbe7122325d7fc78c9b27ff07a8e) 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/oe')
-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):
144 rc, bitbake_env_lines = __exec_cmd(bitbake_env_cmd) 144 rc, bitbake_env_lines = __exec_cmd(bitbake_env_cmd)
145 if rc != 0: 145 if rc != 0:
146 print "Couldn't get '%s' output." % bitbake_env_cmd 146 print "Couldn't get '%s' output." % bitbake_env_cmd
147 print "Bitbake failed with error:\n%s\n" % bitbake_env_lines
147 return None 148 return None
148 149
149 return bitbake_env_lines 150 return bitbake_env_lines