summaryrefslogtreecommitdiffstats
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:44 +0000
commitb2c7cc7fe54a55706f2b0d22b5102c75db3c5f92 (patch)
treeeb93e4e213c1a1954908c6cac61a0b606aed5cc7 /meta/lib/oe/rootfs.py
parent12f47c23df8c109676f66d580d666a3147f3b046 (diff)
downloadpoky-b2c7cc7fe54a55706f2b0d22b5102c75db3c5f92.tar.gz
image.py, package_manager.py, rootfs.py: dump command output on error
Print the entire command output in case of errors. (From OE-Core rev: 2253c9ac2caa61dee0bd4fea04d4d77b79be7b36) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):
57 try: 57 try:
58 subprocess.check_output(exec_cmd) 58 subprocess.check_output(exec_cmd)
59 except subprocess.CalledProcessError as e: 59 except subprocess.CalledProcessError as e:
60 return("Command %s returned %d!" % (e.cmd, e.returncode)) 60 return("Command '%s' returned %d:\n%s" % (e.cmd, e.returncode, e.output))
61 61
62 return None 62 return None
63 63