diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-28 12:03:21 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-28 12:03:21 +0000 |
commit | 71c85df7504ec011a81999e9e787e55a217b20d2 (patch) | |
tree | 80343802144954b4ce7fe9a1ae514f8e6df9140b /cnf/make.globals | |
parent | 9607f376d86b3a1fe05df91fa92af2e22bdce5e7 (diff) | |
download | portage-71c85df7504ec011a81999e9e787e55a217b20d2.tar.gz portage-71c85df7504ec011a81999e9e787e55a217b20d2.tar.bz2 portage-71c85df7504ec011a81999e9e787e55a217b20d2.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. (trunk r9462:9466)
svn path=/main/branches/2.1.2/; revision=9554
Diffstat (limited to 'cnf/make.globals')
-rw-r--r-- | cnf/make.globals | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals index 331f62d63..4f8b1b04a 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -48,6 +48,9 @@ EMERGE_WARNING_DELAY="10" # This option will be removed and forced to yes. AUTOCLEAN="yes" +# Number of 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" |