From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2829 invoked by uid 1002); 18 May 2003 07:54:53 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 4096 invoked from network); 18 May 2003 07:54:53 -0000 Date: Sun, 18 May 2003 00:54:50 -0700 (PDT) From: Amiel Martin To: "Kurt V. Hindenburg" cc: gentoo-dev@gentoo.org In-Reply-To: <200305171707.44197.khindenburg@cherrynebula.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [gentoo-dev] Multiple DISTDIR X-Archives-Salt: 1e2bde3c-e1e2-450f-a33a-0e707be3f79e X-Archives-Hash: 48fc9e4f1a1805b3001c8d6f8d544be6 comments? great idea -AMiel On Sat, 17 May 2003, Kurt V. Hindenburg wrote: I've patch portage.py (VERSION="2.0.47-r10") and ebuild.sh to use a new variable in make.conf. The new variable is DISTDIRS="directory1 directory2 etc". The purpose of this is to allow people to have distfiles in multiple locations (ie. cdrom, nfs, etc). What happens: 1. Look in DISTDIR for files (as normal) 2. If not found, traverse through all directories in DISTDIRS looking for files. 3. Set a new environment variable (DDIR) pointing to correct directory holding the files. 4. ebuild.sh will use DDIR if set instead of DISTDIR. Notes: 1. I couldn't really figure out what the envirnoment variables A and AA were meant for. 2. I thought it best to avoid messing with the envirnoment variable DISTDIR to avoid confusion/problems (hence the new DDIR). 3. How can I get the latest cvs copy of portage as I would assume people would want a diff against that. This will need further testing/fixing as I've only spent a few hours on it and I'm a non-python user. Anyone doing something like this or anyone have any comments? Kurt --- There is no good and evil; there is only power. -- gentoo-dev@gentoo.org mailing list -- gentoo-dev@gentoo.org mailing list