Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Kurt V. Hindenburg" <khindenburg@...>
Subject: Multiple DISTDIR
Date: Sat, 17 May 2003 17:07:44 -0500
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@g.o mailing list

Replies:
Re: Multiple DISTDIR
-- Amiel Martin
Re: Multiple DISTDIR
-- Robin H . Johnson
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Fw: Re: -fbranch-probabilities optimisation
Next by thread:
Re: Multiple DISTDIR
Previous by date:
Re: New local use flag for arts: artswrappersuid
Next by date:
Re: Multiple DISTDIR


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.