Gentoo Archives: gentoo-user

From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] desktop & sever profiles; was: Re: jpg support
Date: Sat, 08 Nov 2008 18:32:17
Message-Id: 4915DB26.1000207@googlemail.com
In Reply to: Re: [gentoo-user] desktop & sever profiles; was: Re: jpg support by Stroller
1 Stroller schrieb am 08.11.2008 19:06:
2 > I assume you're aware that if you look inside that directory you'll find
3 > "desktop" and "server" subdirectories?
4
5 Yes I am, but what is the problem with that?
6
7 > $ ls /usr/portage/profiles/default/linux/x86/2008.0/
8 > desktop developer parent server
9 > $ ls -l /etc/make.profile
10 > lrwxrwxrwx 1 root root 46 Oct 8 07:01 /etc/make.profile ->
11 > /usr/portage/profiles/default/linux/x86/2008.0
12 > $ ls /etc/make.profile
13 > desktop developer parent server
14 > $
15 >
16 > In this case I had assumed the "default" was for Portage simply to
17 > assume desktop.
18
19 No, if you want the desktop profile you have to specify this explicitly
20 by using /usr/portage/profiles/default/linux/x86/2008.0/desktop for
21 example as symlink.
22
23 Only relevant are the files in the directory of the chosen profile and
24 not the subdirectories. The "parent" file points to the relevant files
25 that create the profile.
26
27 cat ${PORTDIR}/profiles/default/linux/x86/2008.0/parent
28 ..
29 ../../../../releases/2008.0
30
31 cat ${PORTDIR}/profiles/default/linux/x86/2008.0/desktop/parent
32 ..
33 ../../../../../targets/desktop
34
35 cat ${PORTDIR}/profiles/default/linux/x86/2008.0/server/parent
36 ..
37 ../../../../../targets/server
38
39 As you can see profiles go always up in the directory structure and not
40 down. So if you choose 2008.0. Server, developer and desktop profiles
41 are omitted.
42
43 Regards,
44
45 Daniel

Attachments

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