mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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:
committed by
Richard Purdie
parent
ea07f0325c
commit
e9fcc57071
@@ -144,6 +144,7 @@ def find_bitbake_env_lines(image_name):
|
|||||||
rc, bitbake_env_lines = __exec_cmd(bitbake_env_cmd)
|
rc, bitbake_env_lines = __exec_cmd(bitbake_env_cmd)
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
print "Couldn't get '%s' output." % bitbake_env_cmd
|
print "Couldn't get '%s' output." % bitbake_env_cmd
|
||||||
|
print "Bitbake failed with error:\n%s\n" % bitbake_env_lines
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return bitbake_env_lines
|
return bitbake_env_lines
|
||||||
|
|||||||
Reference in New Issue
Block a user