Gentoo Archives: gentoo-catalyst

From: "Dustin C. Hatch" <admiralnemo@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH 3/4] Adapt commit c52962b6bd2 to use the new configured settings values.
Date: Sat, 14 Dec 2013 04:59:38
Message-Id: 52ABE5AF.7090209@gmail.com
In Reply to: [gentoo-catalyst] [PATCH 3/4] Adapt commit c52962b6bd2 to use the new configured settings values. by Brian Dolbec
1 On 12/13/2013 21:07, Brian Dolbec wrote:
2 > ---
3 > modules/generic_stage_target.py | 6 +++---
4 > 1 file changed, 3 insertions(+), 3 deletions(-)
5 >
6 > diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
7 > index 342c65b..1fbc733 100644
8 > --- a/modules/generic_stage_target.py
9 > +++ b/modules/generic_stage_target.py
10 > @@ -1066,9 +1066,9 @@ class generic_stage_target(generic_target):
11 > "/use will cause portage to ignore"
12 > print "\tpackage.use in the profile and portage_confdir. You've been warned!"
13 >
14 > - myf.write('PORTDIR="/usr/portage"\n')
15 > - myf.write('DISTDIR="${PORTDIR}/distfiles"\n')
16 > - myf.write('PKGDIR="${PORTDIR}/packages"\n')
17 > + myf.write('PORTDIR="%s"\n' % self.settings['portdir'])
18 > + myf.write('DISTDIR="%s"\n' % self.settings['distdir'])
19 > + myf.write('PKGDIR="%s"\n' % self.settings['packagedir'])
20 >
21 > """ Setup the portage overlay """
22 > if "portage_overlay" in self.settings:
23 >
24 Do we need to still do this? Since the default location isn't hardcoded
25 anymore, but set in repos.conf, it can be confusing if PORTDIR is set in
26 make.conf, because it doesn't even get used.
27
28 --
29 ♫Dustin
30 http://dustin.hatch.name/

Replies