summaryrefslogtreecommitdiff
path: root/meta/lib/oe/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/image.py')
-rw-r--r--meta/lib/oe/image.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py
index ccc849da29..54f7c84cf7 100644
--- a/meta/lib/oe/image.py
+++ b/meta/lib/oe/image.py
@@ -13,8 +13,8 @@ def generate_image(arg):
try:
subprocess.check_output(create_img_cmd)
except subprocess.CalledProcessError as e:
- return("Error: The image creation script %s returned %d!" %
- (e.cmd, e.returncode))
+ return("Error: The image creation script '%s' returned %d:\n%s" %
+ (e.cmd, e.returncode, e.output))
return None