[bitbake-devel] [PATCH] bitbake/lib/bb/fetch2: Fix stderr handling when running commands

Adrien Bustany adrien at bustany.org
Thu Jan 19 15:49:47 UTC 2012


stderr would previously be appended to stdout, corrupting the result
when something was outputed to stderr but exit code was still 0
(non-fatal warning messages). This commit makes the code parse only
stdout, but output stderr if an error happened.

Signed-off-by: Adrien Bustany <adrien.bustany at nokia.com>
---
 bitbake/lib/bb/fetch2/__init__.py |   35 ++++++++++++++++-------------------
 1 files changed, 16 insertions(+), 19 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bitbake-lib-bb-fetch2-Fix-stderr-handling-when-runni.patch
Type: text/x-patch
Size: 2123 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20120119/e7e27657/attachment-0001.bin>


More information about the bitbake-devel mailing list