summaryrefslogtreecommitdiffstats
path: root/cnf/make.globals
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-03 19:28:13 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-03 19:28:13 +0000
commit3a81e3b1e8bcfc71dc4506c8ca54d3d4f4692039 (patch)
treee305319563c88d6fdfe6c61be89bef918789ac87 /cnf/make.globals
parent3c16767d68f6e28d5a536213c8fb4b7f1fc3251e (diff)
downloadportage-3a81e3b1e8bcfc71dc4506c8ca54d3d4f4692039.tar.gz
portage-3a81e3b1e8bcfc71dc4506c8ca54d3d4f4692039.tar.bz2
portage-3a81e3b1e8bcfc71dc4506c8ca54d3d4f4692039.zip
Implement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful for
helping to ensure that small garbage files such as html 404 pages are properly discarded. (trunk r9687) svn path=/main/branches/2.1.2/; revision=9688
Diffstat (limited to 'cnf/make.globals')
-rw-r--r--cnf/make.globals3
1 files changed, 3 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index b12052060..86c2104d3 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -56,6 +56,9 @@ AUTOCLEAN="yes"
# Number of mirrors to try when a downloaded file has an incorrect checksum.
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
+# Minimum size of existing file for RESUMECOMMAND to be called.
+PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
+
# Number of times 'emerge --sync' will run before giving up.
PORTAGE_RSYNC_RETRIES="3"