From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E0D8559CAF for ; Wed, 6 Apr 2016 12:32:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D325021C09A; Wed, 6 Apr 2016 12:32:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E41121C09A for ; Wed, 6 Apr 2016 12:32:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE3D6340D28 for ; Wed, 6 Apr 2016 12:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82B2A86 for ; Wed, 6 Apr 2016 12:32:16 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1459945898.b0e71f5b8c5ca632fa44c4160fad2c69066d2c07.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/rsync-generation/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/rsync-generation/update-rsync-master.sh X-VCS-Directories: scripts/rsync-generation/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: b0e71f5b8c5ca632fa44c4160fad2c69066d2c07 X-VCS-Branch: master Date: Wed, 6 Apr 2016 12:32:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f0e8d93a-6d5d-4772-aed8-79e3c817c9ff X-Archives-Hash: 491059cc6207432bb286ff0301966170 commit: b0e71f5b8c5ca632fa44c4160fad2c69066d2c07 Author: Fabian Groffen gentoo org> AuthorDate: Wed Apr 6 12:31:38 2016 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Apr 6 12:31:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b0e71f5b update-rsync-master: use repositories-configuration with egencache --portdir is deprecated scripts/rsync-generation/update-rsync-master.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/rsync-generation/update-rsync-master.sh b/scripts/rsync-generation/update-rsync-master.sh index bfda169..753edb5 100755 --- a/scripts/rsync-generation/update-rsync-master.sh +++ b/scripts/rsync-generation/update-rsync-master.sh @@ -33,7 +33,7 @@ echo "(init) PATH=$PATH" #### ---- egencache settings ---- #### -EGENCACHE_OPTS="--jobs=2 --load-average=3 --tolerant --update-use-local-desc" +EGENCACHE_OPTS="--jobs=4 --load-average=3 --tolerant --update-use-local-desc" export PYTHONPATH PORTDIR PORTAGE_BASE_PATH PORTAGE_CONFIGROOT \ ROOT PORTAGE_TMPFS FEATURES HOME @@ -215,11 +215,19 @@ dolog() { dolog "${PORTAGE_BASE_PATH}/bin/egencache" --update --rsync \ --config-root="${PORTAGE_CONFIGROOT}" \ --cache-dir="${PORTAGE_DEPCACHEDIR}" \ - --portdir="${RSYNCDIR}" \ --repo=gentoo_prefix \ + --repositories-configuration=' +[DEFAULT] +main-repo = gentoo_prefix + +[gentoo_prefix] +location = '"${RSYNCDIR}"' +sync-type = rsync +sync-uri = rsync://dont-sync +auto-sync = no +' \ ${EGENCACHE_OPTS} \ || exit 5 - #--repositories-configuration="/etc/repos.conf/gentoo_prefix.conf" \ STOP=$(date +%s) TIME_EGENCACHE=$((STOP - START))