[oe-commits] Laurentiu Palcu : image.py, rootfs.py, package_manager.py: redirect stderr to stdout when calling check_output()
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 7 14:39:55 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 4661f1441429952f30e19cebd93dc42ce31fd868
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4661f1441429952f30e19cebd93dc42ce31fd868
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Mon Mar 3 18:36:39 2014 +0200
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 at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/lib/oe/image.py | 2 +-
meta/lib/oe/package_manager.py | 48 ++++++++++++++++++++++--------------------
meta/lib/oe/rootfs.py | 2 +-
3 files changed, 27 insertions(+), 25 deletions(-)
Diff: http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=4661f1441429952f30e19cebd93dc42ce31fd868
More information about the Openembedded-commits
mailing list