summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-24 10:02:53 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-14 10:23:47 (GMT)
commitd376a4e8f12f534291c1cd3ab7a70375cfb9bf8e (patch)
treef6b7ac21d8657575438def70f85e085e15cf40fc /meta/conf
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/conf')
-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 56e3e4de..618780c 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}"