Stroller schrieb am 08.11.2008 19:06:
> I assume you're aware that if you look inside that directory you'll find
> "desktop" and "server" subdirectories?

Yes I am, but what is the problem with that?

>   $ ls /usr/portage/profiles/default/linux/x86/2008.0/
>   desktop  developer  parent  server
>   $ ls -l /etc/make.profile
>   lrwxrwxrwx 1 root root 46 Oct  8 07:01 /etc/make.profile ->
> /usr/portage/profiles/default/linux/x86/2008.0
>   $ ls /etc/make.profile
>   desktop  developer  parent  server
>   $
> 
> In this case I had assumed the "default" was for Portage simply to
> assume desktop.

No, if you want the desktop profile you have to specify this explicitly
by using /usr/portage/profiles/default/linux/x86/2008.0/desktop for
example as symlink.

Only relevant are the files in the directory of the chosen profile and
not the subdirectories. The "parent" file points to the relevant files
that create the profile.

cat ${PORTDIR}/profiles/default/linux/x86/2008.0/parent
..
../../../../releases/2008.0

cat ${PORTDIR}/profiles/default/linux/x86/2008.0/desktop/parent
..
../../../../../targets/desktop

cat ${PORTDIR}/profiles/default/linux/x86/2008.0/server/parent
..
../../../../../targets/server

As you can see profiles go always up in the directory structure and not
down. So if you choose 2008.0. Server, developer and desktop profiles
are omitted.

Regards,

Daniel

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to