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:
parent
ea07f0325c
commit
e9fcc57071
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue