diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-02-10 13:08:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:53:05 +0000 |
commit | 2253c9ac2caa61dee0bd4fea04d4d77b79be7b36 (patch) | |
tree | e4bc5ce710ed208892bbd1e242c8ca5003bcdb12 /meta/lib/oe/rootfs.py | |
parent | 730d675090eec5c03e444f0448d96a52035d0bef (diff) | |
download | openembedded-core-2253c9ac2caa61dee0bd4fea04d4d77b79be7b36.tar.gz openembedded-core-2253c9ac2caa61dee0bd4fea04d4d77b79be7b36.tar.bz2 openembedded-core-2253c9ac2caa61dee0bd4fea04d4d77b79be7b36.zip |
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.py | 2 |
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 |