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>
This commit is contained in:
Ed Bartosh 2015-04-05 00:03:05 +03:00 committed by Richard Purdie
parent ea07f0325c
commit e9fcc57071
1 changed files with 1 additions and 0 deletions

View File

@ -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