summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-24 11:02:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-14 11:23:47 +0100
commitd376a4e8f12f534291c1cd3ab7a70375cfb9bf8e (patch)
treef6b7ac21d8657575438def70f85e085e15cf40fc /meta
parent0d0846e06f387caf1c7f0380072f92f5e33e0882 (diff)
downloadpoky-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.conf8
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
560FETCHCMD_svn = "/usr/bin/env svn" 560FETCHCMD_svn = "/usr/bin/env svn"
561FETCHCMD_cvs = "/usr/bin/env cvs" 561FETCHCMD_cvs = "/usr/bin/env cvs"
562FETCHCMD_wget = "/usr/bin/env wget -t 5 -nv --no-check-certificate" 562FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 -nv --no-check-certificate"
563FETCHCMD_bzr = "/usr/bin/env bzr" 563FETCHCMD_bzr = "/usr/bin/env bzr"
564FETCHCMD_hg = "/usr/bin/env hg" 564FETCHCMD_hg = "/usr/bin/env hg"
565 565
566FETCHCOMMAND = "ERROR, this must be a BitBake bug" 566FETCHCOMMAND = "ERROR, this must be a BitBake bug"
567FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" 567FETCHCOMMAND_wget = "/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'"
568FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" 568FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}"
569FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" 569FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}"
570CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" 570CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 2 -T 30 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'"
571RESUMECOMMAND = "ERROR, this must be a BitBake bug" 571RESUMECOMMAND = "ERROR, this must be a BitBake bug"
572RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'" 572RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}'"
573UPDATECOMMAND = "ERROR, this must be a BitBake bug" 573UPDATECOMMAND = "ERROR, this must be a BitBake bug"
574UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" 574UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
575UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" 575UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}"