[wplug-bsd] How do you update ports.
Dan Pelleg
daniel+wplug at pelleg.org
Fri Apr 9 12:07:55 EDT 2004
Brian Roberts <brian at shot1.org> writes:
> I'm also wondering how people handle multiple servers, do you share
> /usr/src, /usr/obj, and /usr/ports via NFS? Do you make ports on one box
> install them on others? Is there an easy way to utilize a more powerful
> box for compile and package up the end result to move it to a slower system?
>
You can certainly share /usr/src and /usr/obj over NFS. Just remember:
1. The mount points also have to be named /usr/src and /usr/obj
2. Synchronize /etc/make.conf. The build machine's KERNCONF line can specify
multiple kernels to build (it will build them all), and the clients just
name their own kernel. That one's easy. A bit easier to miss is that the
builder's make.conf needs to specify the union of all the clients options
(eg if you use MAKE_KERBEROS5 on any of them, the build machine must
specify it as well).
As for /usr/ports, you can also NFS-mount it. The easiest way to do this,
by far, is to do portupgrade -p on the build machine and portuprade -PP on
the clients. This still fails to solve the problem of packages that need to
be built separately for version 4 and 5. You can try and install the 4
compat libs, but if that fails, you'll need two build servers.
--
Dan Pelleg
More information about the wplug-bsd
mailing list