Gentoo Archives: gentoo-user

From: "Sebastian Günther" <samson@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge xfce4 with installed lprng. :-(
Date: Thu, 24 Jul 2008 21:45:40
Message-Id: 20080724214532.GA29587@marvin.heimnetz.local
In Reply to: Re: [gentoo-user] Can't emerge xfce4 with installed lprng. :-( by Alan Mackenzie
1 * Alan Mackenzie (acm@×××.de) [24.07.08 23:02]:
2 > Hi, Sebastian,
3 >
4
5 I don't know where it is explained, but I try to explain what I know
6 until now about this.
7
8 > I'm still very confused by profiles, though I obviously need to get to
9 > grips with them. What is a profile, _EXACTLY_? Where in the
10 > documentation can I find a description which says something like ".... a
11 > profile is a directory which contains the following files" and then lists
12 > them? There are lots of instructions to "set foobar in your profile",
13 > but the only description I've found so far just says "A profile is a
14 > building block for any Gentoo system" in the Gentoo Linux x86 Handbook,
15 > and then goes on to describe what a profile _does_ in abstract terms but
16 > not what it _is_ in terms of directories and files. That section says
17 > that I "have" the option of choosing another profile too, but not how to
18 > recognise a profile from a random directory or file. I don't understand
19 > how to select it.
20 >
21 You select your profile by choosing a directory (in any depth) under
22 /usr/portage/profiles link it to /etc/make.profile.
23
24 > I have a link
25 >
26 > /etc/make.profile -> /usr/portage/profiles/default/linux/x86/2008.0
27 >
28 > , set up as suggested in the handbook. Is .../2008.0 my profile? Is
29 > this valid? There doesn't appear to be anything of substance there.
30 >
31 your profile is default/linux/x86/2008.0
32
33 > On the other hand the handbook says a few lines lowere, I should select a
34 > profile with:
35 >
36 > # ln -snf /usr/portage/profiles/<profile name> /etc/make.profile.
37 >
38 > In that directory, /usr/portage/profiles, there are both subdirectories
39 > (e.g. default-linux) and some files (e.g., make.defaults,
40 > packages.builds). Is "<profile name>" one of the directories rather than
41 > a file? It looks almost as though there's some sort of hierarchical
42 > inheritance going on.
43 >
44
45 portage recurses upwards to /usr/portage/profiles and read all files in
46 the directories on the way upwards. So every file in
47 /etc/portage/profiles is member of all profiles and what is found on the
48 way down to your choosen directory is *added* to your specific profile.
49
50 So by choosing a profile you choose a stepwise "patch way" to the files
51 in /usr/portage/profile
52
53 > Please tell me that this is clearly explained somewhere.
54 >
55
56 Sorry no links I know of.
57
58 > Thanks!
59 >
60
61 HTH
62 Sebastian
63
64 BTT: What does "euse -i cups" state?
65
66 --
67 " Religion ist das Opium des Volkes. " Karl Marx
68
69 SEB@STI@N GÜNTHER mailto:samson@××××××××××××××××.de

Replies

Subject Author
Re: [gentoo-user] Can't emerge xfce4 with installed lprng. :-( Alan Mackenzie <acm@×××.de>