Skip to contentSkip to conversation

wic: Print bitbake error output

PATCH New Ed Bartosh 1 participant 1 message Apr 4, 2015

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 wic: Print bitbake error output

Added bitbake error output to wic error message to make it more descriptive.

[YOCTO #6911]

---
 scripts/lib/wic/utils/oe/misc.py | 1 +
 1 file changed, 1 insertion(+)
scripts/lib/wic/utils/oe/misc.py +1 -0
index ea9b6e8..4872bd0 100644
@@ -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
Signature · 1 line
2.1.4