Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sharing portage between gentoo-llinux and 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
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Fri Oct 01, 2004 12:53 pm    Post subject: sharing portage between gentoo-llinux and OS X? Reply with quote

There is quite some information around about making one box a dedicated rsync server so you can run emerge sync within your LAN. This is related to, but not quite identical to my question: my G5 is a double-boot, and I use portage in both OS X and linux. Could I simply run "emerge sync" in one of the systems and then do the syncing internally, like so:
Code:
 rsync -va --delete-after /usr/portage/ /LINUX/PARTITION/usr/portage/

That would save some bandwidth, I guess. Any ideas about that?
Back to top
View user's profile Send private message
Mayhem
n00b
n00b


Joined: 24 May 2003
Posts: 70
Location: Spijkenisse, the Netherlands

PostPosted: Fri Oct 01, 2004 6:08 pm    Post subject: Reply with quote

Not sure if i understand your question correctly.
I would mount the osx filesystem under linux and symlink to the /usr/portage dir in the osx partition.
Have to warn you though... I dont have acces to a mac atm and i dont know much the portage-on-mac program.
_________________
I laugh in the face of danger... Then i hide until it goes away.
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Fri Oct 01, 2004 8:12 pm    Post subject: Reply with quote

Yes, that was my question - does the difference in architecture make any difference for the /usr/portage directory, or are they identical? Then either a symlink could do the job, or I could see to it that /usr/portage on both systems be identical. Thanks, I will just try and see!
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Oct 01, 2004 11:24 pm    Post subject: Reply with quote

The two trees are identical. You should be able to safely use one tree for both OSes.
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Sat Oct 02, 2004 5:52 am    Post subject: Reply with quote

Yup, I tried, and it seems to be working. Instead of having a /usr/portage on my OS X partition, I now have a symlink pointing to my gentoo partition. And oddly enough, I have the impression that emerge now is much faster than before! Anyway, thanks for the help, I'm glad I have to sync only once now!
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