View previous topic :: View next topic |
Author |
Message |
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Fri Oct 01, 2004 12:53 pm Post subject: sharing portage between gentoo-llinux and OS X? |
|
|
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 |
|
|
Mayhem n00b
Joined: 24 May 2003 Posts: 70 Location: Spijkenisse, the Netherlands
|
Posted: Fri Oct 01, 2004 6:08 pm Post subject: |
|
|
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 |
|
|
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Fri Oct 01, 2004 8:12 pm Post subject: |
|
|
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 |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Fri Oct 01, 2004 11:24 pm Post subject: |
|
|
The two trees are identical. You should be able to safely use one tree for both OSes. |
|
Back to top |
|
|
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Sat Oct 02, 2004 5:52 am Post subject: |
|
|
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 |
|
|
|