diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-24 11:02:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-14 11:23:47 +0100 |
commit | d376a4e8f12f534291c1cd3ab7a70375cfb9bf8e (patch) | |
tree | f6b7ac21d8657575438def70f85e085e15cf40fc /meta | |
parent | 0d0846e06f387caf1c7f0380072f92f5e33e0882 (diff) | |
download | poky-d376a4e8f12f534291c1cd3ab7a70375cfb9bf8e.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: dbb88617576ea9bbeec08f5e5e15c26c4c18347f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 56e3e4de45..618780c1a1 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}" |