View previous topic :: View next topic |
Author |
Message |
skorefish Apprentice

Joined: 21 Jun 2015 Posts: 285
|
Posted: Wed Apr 06, 2016 12:29 pm Post subject: using multiple make.conf, package.use, profile ?? |
|
|
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 |
|
 |
charles17 Advocate

Joined: 02 Mar 2008 Posts: 3686
|
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Apr 06, 2016 1:00 pm Post subject: Re: using multiple make.conf, package.use, profile ?? |
|
|
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 |
|
 |
|
|
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
|
|