Am Sun, 11 Aug 2013 11:58:48 -0400
schrieb Tanstaafl <tansta...@libertytrek.org>:

> Hello,
> 
> Was reviewing older news items and was wondering about this one:
> 
> "# eselect news read 12
> 2012-09-09-make.conf-and-make.profile-move
>    Title        make.conf and make.profile move
>    Author       Jorge Manuel B. S. Vicetto <jmbsvice...@gentoo.org>
>    Posted       2012-09-09
>    Revision     1
> 
> Starting next week, new stages will have make.conf and make.profile
> moved from /etc to /etc/portage. This is a change in the installation
> defaults, that will only affect new installs so it doesn't affect
> current systems.
> 
> Current users don't need to do anything. But if you want to follow the
> preferred location, you may want to take the chance to move the files
> in your system(s) to the new location."
> 
> My question is, what if they are in both locations? Which ones are used? 
> I would assume that portage now looks first in /etc/portage and uses 
> those if it finds them, and if not, looks in /etc - but the news item is 
> incomplete on this question.

When in doubt, read the man page (make.conf(5)):

"[...]
DESCRIPTION
       This  file  contains various variables that are used by Portage.  
Portage will check
       the currently-defined environment variables first for any settings.  If 
no  environā€
       ment   settings   are   found,   Portage  then  checks  the  make.conf  
files.  Both
       /etc/make.conf and /etc/portage/make.conf are checked  (if  present),  
and  settings
       from  /etc/portage/make.conf will override settings from /etc/make.conf. 
[...]"

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

Attachment: signature.asc
Description: PGP signature

Reply via email to