Gentoo Archives: gentoo-user

From: Johannes Rosenberger <gentoo@×××××.eu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/portage/profile vs. /etc/portage/make.profile
Date: Mon, 20 Feb 2017 07:47:57
Message-Id: 2e70d738-f780-f875-7606-da8c6c6aa6cb@jorsn.eu
In Reply to: [gentoo-user] /etc/portage/profile vs. /etc/portage/make.profile by Meino.Cramer@gmx.de
1 On 20.02.2017 03:37, Meino.Cramer@×××.de wrote:
2 > Hi,
3 >
4 > I am a little confused...
5 >
6 > In search for the reason my new root has no /etc/portage/profile
7 > but an /etc/portage/make.profile on this documemnt:
8 > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html
9 > I found this ywo lines
10 >
11 > /etc/portage/make.profile/ or /etc/make.profile/
12 > site-specific overrides go in /etc/portage/profile/
13 >
14 > (My profile is set correctly)
15 > Does this mean that make.profile is totally identical to
16 > make.profile, but if you want site-specific overrides you need
17 > to have profile instead of make.profile?
18 >
19 > Do I need to create /etc/portage/profile if it is not there?
20 >
21 > Nonetheless the listing below implies, that they are equivaltent.
22 > Or ?
23 >
24 > Cheers
25 > Meino
26 make.profile is a symlink to your profile, so you shouldn't edit
27 anything in there. It is managed by 'eselect profile' and i guess that
28 /etc/make.profile is the old location, like with make.conf which used to
29 be in /etc but is now in /etc/portage.
30 If you want to manually override anything in your profile that is not
31 covered by the other files in /etc/portage, e.g. unmask useflags, then
32 you use /etc/portage/profile. Everything there has higher precedence
33 than things in make.profile.

Replies