This is a question about synchronizing Fink installations over a LAN, using one machine as a build host. Last March Martin Costabel posted to Fink-users the following (slightly edited):

[quote]

> How do I get the same version of the same packages on multiple
> machines, but build only on one.

If you can mount (I know it works with appleshare, but NFS should work,
too, and a firewire disk works certainly) the partition containing /sw/
on your build machine on the others, you can use apt-get. Just put some
lines like (external partition mounted on /Volumes/Software)

deb file:/Volumes/Software/sw/fink local main bootstrap
deb file:/Volumes/Software/sw/fink stable main crypto
deb file:/Volumes/Software/sw/fink unstable main crypto

into your /sw/etc/apt/sources.list on the client machines.

Then on the build host, run "fink scanpackages", and on the clients "sudo
apt-get update", "sudo apt-get upgrade". I am doing this all the time
here. I am building on an iMac-700MHz connected via Airport to the iBook
on which I am typing this.

[end quote]

I tried this both with AFP and NFS, and it doesn't work. The link /Volumes/Software/sw/fink/dists resolves to /sw/fink/10.2 in the local file system, not to the corresponding directory in the remote file system. It seems to be an inherent limitation of Mac OS X that a symlink on a network file system always resolves to a path in the local file system. If the path doesn't exist you get an error.

Does anyone know of a workaround? For example, can you replace the symlink 'dists' on the build host with a hard link to 10.2, or just rename 10.2 to dists? Please reply to the list. Thanks.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to