From c3ba2ecd4edc2627969a120ebf92a25a85f87995 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 8 Mar 2010 07:43:00 +0000 Subject: Produce a warning message if the timestamp of the portage tree is more than 30 days old, and make it adjustable via the PORTAGE_SYNC_STALE variable. Thanks to Ned Ludd for the most of this code. svn path=/main/trunk/; revision=15756 --- cnf/make.globals | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cnf') diff --git a/cnf/make.globals b/cnf/make.globals index 76b48fbf9..b1b2cf49c 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -83,6 +83,10 @@ PORTAGE_RSYNC_RETRIES="3" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" +# The number of days after the last `emerge --sync` that a warning +# message should be produced. +PORTAGE_SYNC_STALE="30" + # Minimal CONFIG_PROTECT CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d" -- cgit v1.2.3-1-g7c22