View previous topic :: View next topic |
Author |
Message |
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Fri Nov 23, 2012 12:05 pm Post subject: make.conf location ? |
|
|
Can someone tell me where the correct location for the make.conf file is now supposed to be?
I see in the thread below it is now in /etc/portage/make.conf.
I have already created a new one in the /etc/make.conf and have performed a "emerge -av1 binutils gcc glibc".
So which make.conf will it actually be using ?
Not to get in a rant but I already had to sort the RC issue by using
Code: |
mkdir -p /var/spool/mail
mkdir -p /run/lock
|
At least the sshd issue a few weeks back has been resolved
https://forums.gentoo.org/viewtopic-t-937182-highlight-make+conf+missing.html |
|
Back to top |
|
|
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Fri Nov 23, 2012 12:17 pm Post subject: |
|
|
Looks to still be using /etc/make.conf at least firstly in any event.
Does it default to /etc/portage/make.conf if above is not present? |
|
Back to top |
|
|
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 134
|
Posted: Fri Nov 23, 2012 12:50 pm Post subject: |
|
|
First /etc/make.conf, then /etc/portage/make.conf. I personally moved it.
From the news:
Code: |
Title make.conf and make.profile move
Author Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
Posted 2012-09-09
Revision 1
Starting next week, new stages will have make.conf and make.profile
moved from /etc to /etc/portage. This is a change in the installation
defaults, that will only affect new installs so it doesn't affect
current systems.
Current users don't need to do anything. But if you want to follow the
preferred location, you may want to take the chance to move the files
in your system(s) to the new location.
|
|
|
Back to top |
|
|
chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Fri Nov 23, 2012 2:06 pm Post subject: |
|
|
Thanks gabrielg
Anyone know or have some background as to why? is it perhaps to make Gentoo/portage more modular. |
|
Back to top |
|
|
LiamOS n00b
Joined: 06 Jun 2012 Posts: 64 Location: Ireland
|
Posted: Sun Nov 25, 2012 11:36 pm Post subject: |
|
|
I think the motivation was to centralise portage configuration.
Being far too used to typing /etc/make.conf myself, I just do a
# ln -sv /etc/portage/make.conf /etc/make.conf _________________ CFLAGS=" -O999999" |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Mon Nov 26, 2012 2:55 am Post subject: |
|
|
LiamOS wrote: | I think the motivation was to centralise portage configuration.
Being far too used to typing /etc/make.conf myself, I just do a
# ln -sv /etc/portage/make.conf /etc/make.conf |
id read somewhere this would be problematic, as it would cause it to be sourced twice. or something.
found the thread as i was typing this. YMMV _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
piedar Tux's lil' helper
Joined: 09 Aug 2010 Posts: 82
|
Posted: Tue Nov 27, 2012 12:06 am Post subject: |
|
|
I'll add that it makes more sense to have it in /etc/portage, since portage is the only thing that reads it - make itself doesn't. |
|
Back to top |
|
|
LiamOS n00b
Joined: 06 Jun 2012 Posts: 64 Location: Ireland
|
Posted: Tue Nov 27, 2012 9:23 am Post subject: |
|
|
cach0rr0 wrote: | LiamOS wrote: | I think the motivation was to centralise portage configuration.
Being far too used to typing /etc/make.conf myself, I just do a
# ln -sv /etc/portage/make.conf /etc/make.conf |
id read somewhere this would be problematic, as it would cause it to be sourced twice. or something.
found the thread as i was typing this. YMMV |
Thanks for that. _________________ CFLAGS=" -O999999" |
|
Back to top |
|
|
|