Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using multiple make.conf, package.use, profile ??
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
skorefish
Apprentice
Apprentice


Joined: 21 Jun 2015
Posts: 281

PostPosted: Wed Apr 06, 2016 12:29 pm    Post subject: using multiple make.conf, package.use, profile ?? Reply with quote

Hello, i was wondering if it is possible to have multiple portage configurations on one system?

Is it possible to just chroot in a directory and using the make.conf, package.use, profile of that directory?
I want just everything happening to this directory including emerge, etc
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2617

PostPosted: Wed Apr 06, 2016 12:58 pm    Post subject: Reply with quote

See e.g. https://wiki.gentoo.org/wiki/Raspberry_Pi#Stage_3
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed Apr 06, 2016 1:00 pm    Post subject: Re: using multiple make.conf, package.use, profile ?? Reply with quote

skorefish wrote:
Hello, i was wondering if it is possible to have multiple portage configurations on one system?

skorefish ... see the '--config-root=' parameter in 'man portage'

skorefish wrote:
Is it possible to just chroot in a directory and using the make.conf, package.use, profile of that directory? I want just everything happening to this directory including emerge, etc

Of course, thats effectively what you are doing when installing, you chroot to /mnt/gentoo and /mnt/gentoo/ becomes EROOT=/

Code:
# portageq envvar EROOT
/

So, the above chroot will work perfectly fine, though the same considerations need to given as those when installing. Perhaps you should consider using '--root' (again, see 'man portage').

best ... khay
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