Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/portage/profile vs. /etc/portage/make.profile
Date: Mon, 20 Feb 2017 18:16:09
Message-Id: 20170220181557.GB29610@solfire
In Reply to: Re: [gentoo-user] /etc/portage/profile vs. /etc/portage/make.profile by Johannes Rosenberger
1 Johannes Rosenberger <gentoo@×××××.eu> [17-02-20 17:06]:
2 > On 20.02.2017 03:37, Meino.Cramer@×××.de wrote:
3 > > Hi,
4 > >
5 > > I am a little confused...
6 > >
7 > > In search for the reason my new root has no /etc/portage/profile
8 > > but an /etc/portage/make.profile on this documemnt:
9 > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html
10 > > I found this ywo lines
11 > >
12 > > /etc/portage/make.profile/ or /etc/make.profile/
13 > > site-specific overrides go in /etc/portage/profile/
14 > >
15 > > (My profile is set correctly)
16 > > Does this mean that make.profile is totally identical to
17 > > make.profile, but if you want site-specific overrides you need
18 > > to have profile instead of make.profile?
19 > >
20 > > Do I need to create /etc/portage/profile if it is not there?
21 > >
22 > > Nonetheless the listing below implies, that they are equivaltent.
23 > > Or ?
24 > >
25 > > Cheers
26 > > Meino
27 > make.profile is a symlink to your profile, so you shouldn't edit
28 > anything in there. It is managed by 'eselect profile' and i guess that
29 > /etc/make.profile is the old location, like with make.conf which used to
30 > be in /etc but is now in /etc/portage.
31 > If you want to manually override anything in your profile that is not
32 > covered by the other files in /etc/portage, e.g. unmask useflags, then
33 > you use /etc/portage/profile. Everything there has higher precedence
34 > than things in make.profile.
35 >
36
37 Hi Johannes,
38
39 ...I was irritated bu the header line of the linked article and the
40 fact, that /etc/portage/profile didn't exist in my installation.
41 I added the directory by hand and hope it is all ok now...
42
43 Thanks for your posting! :)
44
45 Cheers
46 Meino

Replies

Subject Author
Re: [gentoo-user] /etc/portage/profile vs. /etc/portage/make.profile Neil Bothwick <neil@××××××××××.uk>