Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Separate root for portage (Mac OS X)
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
ThenAgain
n00b
n00b


Joined: 13 Aug 2004
Posts: 5

PostPosted: Sun Sep 26, 2004 5:58 pm    Post subject: Separate root for portage (Mac OS X) Reply with quote

I'd like very much to use portage on OS X but it makes me nervous that it lives in the same root as MacOS. Fink seems to put everything in /sw which is great. There must be some way to do something like this with the OS X portage but I can't figure out how. Help?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sun Sep 26, 2004 10:30 pm    Post subject: Reply with quote

I think you can use the ROOT variable for this. Either specify it on the command line (ROOT="/portage" emerge foo), or put it in your /etc/make.conf.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
ThenAgain
n00b
n00b


Joined: 13 Aug 2004
Posts: 5

PostPosted: Sun Sep 26, 2004 11:23 pm    Post subject: ROOT variable Reply with quote

Okay, that's a start, but it only gets me about half way there. How can I make the installer put the portage tree and emerge programs, etc in a new root? Is this even possible. Maybe a chroot or something?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Sep 27, 2004 1:04 am    Post subject: Reply with quote

Until PATHSPEC is fully implemented (it's a new portage feature in the works) you won't be able to easily seperate Gentoo and MacOS. For now, you shouldn't be able to really mess up your MacOS install unless you disable collision protection, which protects files that were not originally installed by portage. Using a seperate directory will probably not be the default behaviour of Gentoo, but you will eventually get the option.

If the idea of having Gentoo use the same root as OSX makes you nervous, you probably should stay away from it at the moment, as it's still very much in development. :)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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