cvs commit: src/tools/tools/tinderbox tinderbox.pl

M. Warner Losh imp at bsdimp.com
Thu May 15 08:25:05 PDT 2003


In message: <Pine.NEB.3.96L.1030515104541.19892H-100000 at fledge.watson.org>
            Robert Watson <rwatson at FreeBSD.org> writes:
: BTW, I'm not sure if anyone on the FreeBSD side has looked at the NetBSD
: cross release process recently, but it has some pretty cool elements --
: for example, they have a userland tool to create UFS file systems from pax
: archives, I believe, and do so in a byte-order neutral way (you specify
: the properties of the target environment).  Using that tool would get the
: md devices out of the build process, reducing the dependence on specific
: kernels, etc.  My understanding is they can actually do a complete
: cross-release without privilege as well, which would be something well
: worth looking into. 

NetBSD's stuff is very sweet.  You can make an entire release w/o
privs.  Takes about 28-32 minutes on my FreeBSD/i386 box for the
NetBSD/mipsco, NetBSD/hpcmips or NetBSD/arc stuff I build on a regular
basis.  The cost of this is a more extensive use of autoconfig in
their tree so that they can build on anything from Linux to Solaris,
or even in the Mingwin cygnus environment (modulo a couple of case
insensitive filename classes that crop up every now and again).  I'm
able to install off of the result as well, and others have proven that
they are byte for byte identical as native builds.

The non-priv'd build happens by hacks to install(1) to instrument what
was installed on the system.  That could have a number of other uses
as well.

NetBSD also has endian neutral ufs as well, which helps a lot, but I
don't want to build that bikeshed.

Warner



More information about the cvs-src mailing list