aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/rootfs.py
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-02-10 13:08:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 11:53:05 +0000
commit2253c9ac2caa61dee0bd4fea04d4d77b79be7b36 (patch)
treee4bc5ce710ed208892bbd1e242c8ca5003bcdb12 /meta/lib/oe/rootfs.py
parent730d675090eec5c03e444f0448d96a52035d0bef (diff)
downloadopenembedded-core-2253c9ac2caa61dee0bd4fea04d4d77b79be7b36.tar.gz
image.py, package_manager.py, rootfs.py: dump command output on error
Print the entire command output in case of errors. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r--meta/lib/oe/rootfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 7455a865a4..b6baf7780d 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -57,7 +57,7 @@ class Rootfs(object):
try:
subprocess.check_output(exec_cmd)
except subprocess.CalledProcessError as e:
- return("Command %s returned %d!" % (e.cmd, e.returncode))
+ return("Command '%s' returned %d:\n%s" % (e.cmd, e.returncode, e.output))
return None