Subject: Re: toolchain/16161: UNPRIVED builds get ownership of files in kern
To: Ben Harris <bjh21@netbsd.org>
From: Todd Vierling <tv@wasabisystems.com>
List: netbsd-bugs
Date: 04/01/2002 18:38:25
On Mon, 1 Apr 2002, Ben Harris wrote:

: ixion:/u1/ben/netbsd/src$ NO_DBSYM=1 ./build.sh -m shark -a arm -D /u1/ben/netbsd/dest.shark -O /u1/ben/netbsd/obj.shark -R /u1/ben/netbsd/release.shark -T /u1/ben/netbsd/tools -U
:
: Adapt as necessary for your host system.  The -U is the important bit.

This is actually an old problem that is only noticed now because we can do
a full build as non-root.  If you look very closely, you'll note that the
*gid* of kernels in kern.tgz sets of days past is not "wheel" in most cases.
Some of them are rather unusual.

The real fix here is probably to $INSTALL_FILE the kernels into place, and
tar them up from there.  However, given the multiple-kern-sets scenario,
this may not be possible.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/