summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/images
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2012-06-13 22:09:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-14 14:07:18 +0100
commitd43d3b007eac502c9c1ba8f5ff5cc8f984c84ddf (patch)
treef9ff712d1df8af57ef0a133f4d2a89f424e761a1 /meta/recipes-graphics/images
parentad78e3c1897010f2e8ab100dedb8eab1559bee05 (diff)
downloadpoky-d43d3b007eac502c9c1ba8f5ff5cc8f984c84ddf.tar.gz
fetch2: Fix missing output from stderr in fetcher logs
There are actually two problems to fix 1) The exception for bb.process.ExecutionError must be processed first because it is a derived from the bb.process.CmdError class and we never reach the ExecutionError otherwise. 2) The stderr needs to be printed as well as stdout to determine the root cause of a fetch failure. The example I have is that I got a log that looked like: -- ERROR: Function failed: Network access disabled through BB_NO_NETWORK but access requested with command /usr/bin/env wget -t 5 -nv --passive-ftp --no-check-certificate -P /localds 'http://downloads.yoctoproject.org/[...CLIPPED...] url None) -- That really didn't tell me much, but with this patch I get error above plus the following: -- STDERR: /net/[...CLIPPED...]kernel-tools.git: Read-only file system -- (Bitbake rev: af2133a04e1f4b22b181adf9c71f89c439bb88cf) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/images')
0 files changed, 0 insertions, 0 deletions