summaryrefslogtreecommitdiff
path: root/cnf
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-14 06:53:25 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-14 06:53:25 +0000
commitc4e0feffe388409178a3c487053636ac5398f9af (patch)
treecb0a2b144e6c3e7f7cea217fb8f72a2e63d5a1b7 /cnf
parent* Optimize parallel-fetch to avoid redundant checksum verification. (diff)
downloadportage-idfetch-c4e0feffe388409178a3c487053636ac5398f9af.tar.gz
portage-idfetch-c4e0feffe388409178a3c487053636ac5398f9af.tar.bz2
portage-idfetch-c4e0feffe388409178a3c487053636ac5398f9af.zip
Bug #42456 - When a checksum failure occurs during fetch, use a new
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS config variable to control how many mirrors should be tried before aborting the download. This type of behavior used to be enabled only in --fetchonly mode but now it's enabled for all fetch() calls. svn path=/main/trunk/; revision=9463
Diffstat (limited to 'cnf')
-rw-r--r--cnf/make.globals3
1 files changed, 3 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index 9023dab6..4b73a2f3 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -51,6 +51,9 @@ EMERGE_WARNING_DELAY="10"
# This option will be removed and forced to yes.
AUTOCLEAN="yes"
+# Number mirrors to try when a downloaded file has an incorrect checksum.
+PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
+
# Number of times 'emerge --sync' will run before giving up.
PORTAGE_RSYNC_RETRIES="3"