diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-24 11:02:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:15:14 +0100 |
commit | af16b9f59c808bc551ea07e9404cb3e34c974dc3 (patch) | |
tree | 8b8a0c1bafeea2e7b9aa12d0080bfe6be453be50 /meta/conf/bitbake.conf | |
parent | b52dfa23e11ebc0f57afb4c460050fca2ca848f6 (diff) | |
download | poky-af16b9f59c808bc551ea07e9404cb3e34c974dc3.tar.gz |
bitbake.conf: Improve wget timeouts
The wget default is a 900 second timeout and 20 retries. This is way too long
for most of our usecases so this patch changes it to a 30 second timeout and
reduces retries from 5 to 2. We have good mirror infrastructure, this will
let us fall back to it easier.
(From OE-Core rev: 48429569b9f83fde8f9802cfd8674fa24178876c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 7073018020..3a23c8df4a 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -559,17 +559,17 @@ XORG_MIRROR = "http://xorg.freedesktop.org/releases" | |||
559 | 559 | ||
560 | FETCHCMD_svn = "/usr/bin/env svn" | 560 | FETCHCMD_svn = "/usr/bin/env svn" |
561 | FETCHCMD_cvs = "/usr/bin/env cvs" | 561 | FETCHCMD_cvs = "/usr/bin/env cvs" |
562 | FETCHCMD_wget = "/usr/bin/env wget -t 5 -nv --no-check-certificate" | 562 | FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 -nv --no-check-certificate" |
563 | FETCHCMD_bzr = "/usr/bin/env bzr" | 563 | FETCHCMD_bzr = "/usr/bin/env bzr" |
564 | FETCHCMD_hg = "/usr/bin/env hg" | 564 | FETCHCMD_hg = "/usr/bin/env hg" |
565 | 565 | ||
566 | FETCHCOMMAND = "ERROR, this must be a BitBake bug" | 566 | FETCHCOMMAND = "ERROR, this must be a BitBake bug" |
567 | FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" | 567 | FETCHCOMMAND_wget = "/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" |
568 | FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" | 568 | FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" |
569 | FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" | 569 | FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" |
570 | CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" | 570 | CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 2 -T 30 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" |
571 | RESUMECOMMAND = "ERROR, this must be a BitBake bug" | 571 | RESUMECOMMAND = "ERROR, this must be a BitBake bug" |
572 | RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" | 572 | RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" |
573 | UPDATECOMMAND = "ERROR, this must be a BitBake bug" | 573 | UPDATECOMMAND = "ERROR, this must be a BitBake bug" |
574 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" | 574 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" |
575 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" | 575 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" |