View previous topic :: View next topic |
Author |
Message |
Varsuuk Tux's lil' helper
Joined: 12 Jan 2007 Posts: 85
|
Posted: Wed Sep 03, 2008 6:55 am Post subject: [SOLVED] profile links? (AMD64 Min Install - 2008.0) |
|
|
I got to http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6 and read about checking what profiles were avail via the ls -FGg command.
In the /etc/make.profile there was desktop/ developer/ no-multilib/ parent server/
Each of the desktop/server/nomulti had just parent in them (server also had profile.bashrc)
I recall, if imperfectly, that in the past each of these directories pointed to a link having some profile use defaults etc. I see no files in them now - any ideas what I did?
(I did emerge sync - alot was dl, no message AT END (all I could see in screen) said had to emerge portage so I didn't.)
Last edited by Varsuuk on Sun Sep 07, 2008 7:01 pm; edited 1 time in total |
|
Back to top |
|
|
defenderBG l33t
Joined: 20 Jun 2006 Posts: 817
|
Posted: Wed Sep 03, 2008 8:35 am Post subject: |
|
|
i havent tried the 2008 installation, but i am almoast sure that they have installed eselect. Just do:
eselect profile list
to see all supported profile, once you have choosen one do:
eselect profile set <either profile number or full name of profile>
That should do the trick.
I use 2008.0 desktop profile and it is pretty good for everyday work. |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Wed Sep 03, 2008 9:00 am Post subject: Re: profile links? (AMD64 Min Install - 2008.0) |
|
|
Varsuuk wrote: |
I recall, if imperfectly, that in the past each of these directories pointed to a link having some profile use defaults etc. I see no files in them now - any ideas what I did?
|
This is correct; Gentoo profiles can inherit settings from their parent. The "parent" file in each profile tells Portage where the parent profile is (in the majority of cases, the parent is ".." so the parent directory).
The subprofiles of the default/linux/x86/2008.0/ profile have no settings that differ from the main profile so no additional files are placed therein. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
|
Varsuuk Tux's lil' helper
Joined: 12 Jan 2007 Posts: 85
|
Posted: Wed Sep 03, 2008 3:55 pm Post subject: |
|
|
Thank you, this explains why the subdirectories were "empty", but before I mark this solved, to clarify:
What should be in the /etc/make.profile directory if you view it via ls -FGg ?
Do I expect to see some file like make.default (making up the name, I don't recall) or should it be empty or should it contain a "parent" file?
I ask because I dimly recall older 2007.0 and prior installs having some use files in the destop/server directories that were different from each others (as inferred in the 2008.0 Handbook, probably incorrectly for THIS release.)
Thanks! |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Wed Sep 03, 2008 5:34 pm Post subject: |
|
|
The 2008 profiles have a different structure, which is why it's way simpler to use `eselect profile`. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Wed Sep 03, 2008 7:03 pm Post subject: |
|
|
/etc/make.profile is not a directory, it is a symlink that is created by eselect profile set <nn>. |
|
Back to top |
|
|
Varsuuk Tux's lil' helper
Joined: 12 Jan 2007 Posts: 85
|
Posted: Thu Sep 04, 2008 2:12 am Post subject: |
|
|
yngwin wrote: | The 2008 profiles have a different structure, which is why it's way simpler to use `eselect profile`. |
OK - I was just following the instructions to look in that directory (ie: ls the link) to see what ones were avail and select one.
I'll see if I can try that eelect method - I've never used it yet.
Edit: eselect is not found by default in the chrooted environment it seems, therefore I will not try to use it. I'll just leave it at default (I doubt there was another option to pick for me unless it were dektop/server anyhow) |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Thu Sep 04, 2008 4:07 am Post subject: |
|
|
You can maually symlink /etc/make.profile like this Code: | # rm /etc/make.profile
# ln -s /usr/portage/profiles/default/linux/x86/2008.0/desktop /etc/make.profile |
or if you prefer a server profile Code: | # rm /etc/make.profile
# ln -s /usr/portage/profiles/default/linux/x86/2008.0/server /etc/make.profile |
After you symlink, you can check which USE flags are set by running Code: | # emerge --newuse --deep --pretend world |
|
|
Back to top |
|
|
AllenJB Veteran
Joined: 02 Sep 2005 Posts: 1285
|
Posted: Thu Sep 04, 2008 9:45 am Post subject: |
|
|
yngwin wrote: | The 2008 profiles have a different structure, which is why it's way simpler to use `eselect profile`. |
Unfortunately eselect profile isn't available during initial installation, making profile selection a pita for newbies. I have an open bug on this. |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Thu Sep 04, 2008 2:37 pm Post subject: |
|
|
Well, it's easy enough to emerge eselect first, but I agree it would be nice to have it standard included in the stage3. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
|