Sharing compiled builds between multiple 12-CURRENT boxes.

David Wolfskill david at catwhisker.org
Sat Aug 18 23:59:40 UTC 2018


On Sun, Aug 19, 2018 at 12:34:20AM +0200, Dhananjay Balan wrote:
> Hi,
> 
> I run 12-CURRENT on few machines, some more powerful that other (all
> of them x86_64, march varies). 
> 
> Is there is a way to avoid building CURRENT on all machines? Rather
> than building everywhere, can I just build it on the big server that I
> have and copy and update my laptop?
> ....

There are ways (note plural) to do this kind of thing, yes.  Depending
on a lot of factors, some may be more feasible than others.

While the machines for which I do something similar run stable (at
present, stable/11), I believe that the approach I use, and which is
described at <http://www.catwhisker.org/~david/FreeBSD/upgrade.html> may
(at least) be a useful case study.  There is also a log (of sorts) of
the successful updates at
<http://www.catwhisker.org/~david/FreeBSD/history/>.

Note that I explicitly avoid optimizations that would not work for all
of the machines in question.  That's probably obvious, but.... :-)

As Cy Schubert pointed out, paths need to be set up to look identical;
setting that up initially may be a little more "interesting" than one
might prefer, but in my experience, once that's done, things Just Work
(at least, using the approach I use).

I'll skip trying to mention other approaches, as I don't actually use
them.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Trump is gaslighting us: https://www.bbc.com/news/world-us-canada-44959300

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180818/29400677/attachment.sig>


More information about the freebsd-current mailing list