]> code.ossystems Code Review - openembedded-core.git/commit
image.py, rootfs.py, package_manager.py: redirect stderr to stdout when calling check...
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Mon, 3 Mar 2014 16:36:39 +0000 (18:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Mar 2014 14:44:25 +0000 (14:44 +0000)
commit4661f1441429952f30e19cebd93dc42ce31fd868
tree8242b1296543707379c21f210c64ec76d8d410cb
parentad9bd9ce164c9cb1212de27fec84ad0fe5214bb2
image.py, rootfs.py, package_manager.py: redirect stderr to stdout when calling check_output()

If a command executed with subprocess.check_output() fails, the
subprocess.CalledProcessError.output contains only STDOUT and the user
needs to check the log.do_rootfs to see any other details.

This commit forwards stderr to stdout so that, in case of failure, the
entire error output will be displayed in terminal.

[YOCTO #5902]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/lib/oe/image.py
meta/lib/oe/package_manager.py
meta/lib/oe/rootfs.py