[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/src on NFS - and /usr/ports



On Tue, Mar 05, 2002 at 10:36:54AM -0800, David Talkington wrote:
> Rickard Borgmäster wrote:
> >The reason I thought of this, is that I could have one machine with
> >the /usr/src shared on NFS, daily updated from NFS, and then there
> >is no need to redistribute the updated sources.
> 
> Only you can decide what's too slow, so try it.  If I can do it with a
> Linux NFS export mounted on Solaris (and I can), I'm sure you'll be
> fine.  One caveat, though; make sure you're using ntpd, and keep your
> times accurate on those two systems.  Otherwise you'll get
> timestamp-related errors when you build.

Can you build for several machines from one /usr/src?
And also, can you do the same for the /usr/ports if you 
make it available (read/write) over NFS to several sites?

After reading the "man ports", I believe that I should set 
the variable PACKAGES for each site in the /etc/mk.conf, but 
can I leave the WRKOBJDIR and DISTDIR the same for all sites?

And for /usr/src, should I set the DESTDIR and RELEASEDIR?