public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Environment variable ROOT and make.conf file
@ 2004-10-02 11:59 Vitaly Ivanov
  2004-10-02 18:53 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Ivanov @ 2004-10-02 11:59 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

Hello Dear All

Gentoo Portage always use /etc/make.conf
even if ROOT variable defined to other then '/'
Is it right?

May be
if anyone specify ROOT=/mnt/gentoo
portage myst use
/mnt/gentoo/etc/make.conf
instead
/etc/make.conf
or use some environment variable
to specify alternative make.conf file

Look at:
file: /usr/lib/portage/pym/portage.py
line 949: # XXX: Should depend on root?
line 950: self.mygcfg=getconfig("/"+MAKE_CONF_FILE)

Thanks.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] Environment variable ROOT and make.conf file
  2004-10-02 11:59 [gentoo-dev] Environment variable ROOT and make.conf file Vitaly Ivanov
@ 2004-10-02 18:53 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2004-10-02 18:53 UTC (permalink / raw
  To: gentoo-dev

On Saturday 02 October 2004 07:59 am, Vitaly Ivanov wrote:
> Gentoo Portage always use /etc/make.conf
> even if ROOT variable defined to other then '/'
> Is it right?

yes, that is right

the embedded peeps have already talked to portage about getting this 
changed ... the answer is that for .51, the fix is non-trivial and so wont 
happen ... look for .52/.53 for the 'real' fix
-mike

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-02 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-02 11:59 [gentoo-dev] Environment variable ROOT and make.conf file Vitaly Ivanov
2004-10-02 18:53 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox