Gentoo Archives: gentoo-dev

From: Vitaly Ivanov <im@×××.ru>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Environment variable ROOT and make.conf file
Date: Sat, 02 Oct 2004 11:51:59
Message-Id: 415E9808.7020004@rle.ru
1 Hello Dear All
2
3 Gentoo Portage always use /etc/make.conf
4 even if ROOT variable defined to other then '/'
5 Is it right?
6
7 May be
8 if anyone specify ROOT=/mnt/gentoo
9 portage myst use
10 /mnt/gentoo/etc/make.conf
11 instead
12 /etc/make.conf
13 or use some environment variable
14 to specify alternative make.conf file
15
16 Look at:
17 file: /usr/lib/portage/pym/portage.py
18 line 949: # XXX: Should depend on root?
19 line 950: self.mygcfg=getconfig("/"+MAKE_CONF_FILE)
20
21 Thanks.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Environment variable ROOT and make.conf file Mike Frysinger <vapier@g.o>