Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make.conf location ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Fri Nov 23, 2012 12:05 pm    Post subject: make.conf location ? Reply with quote

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
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Fri Nov 23, 2012 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
gabrielg
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2012
Posts: 134

PostPosted: Fri Nov 23, 2012 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Fri Nov 23, 2012 2:06 pm    Post subject: Reply with quote

Thanks gabrielg

Anyone know or have some background as to why? is it perhaps to make Gentoo/portage more modular.
Back to top
View user's profile Send private message
LiamOS
n00b
n00b


Joined: 06 Jun 2012
Posts: 64
Location: Ireland

PostPosted: Sun Nov 25, 2012 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Mon Nov 26, 2012 2:55 am    Post subject: Reply with quote

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
View user's profile Send private message
piedar
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2010
Posts: 82

PostPosted: Tue Nov 27, 2012 12:06 am    Post subject: Reply with quote

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
View user's profile Send private message
LiamOS
n00b
n00b


Joined: 06 Jun 2012
Posts: 64
Location: Ireland

PostPosted: Tue Nov 27, 2012 9:23 am    Post subject: Reply with quote

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

8O
Thanks for that.
_________________
CFLAGS=" -O999999"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum