From c4e0feffe388409178a3c487053636ac5398f9af Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 14 Mar 2008 06:53:25 +0000 Subject: 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 --- cnf/make.globals | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cnf/make.globals') diff --git a/cnf/make.globals b/cnf/make.globals index 9023dab6b..4b73a2f36 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" -- cgit v1.2.3-1-g7c22