Re: ramdisk-zfsroot: pool detection and configurable boot fs

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On Mon, Aug 17, 2026 at 07:34:21AM -0400, Greg Troxel wrote:
> nbmake-amd64 is part of the cross tools, which are the first things
> built by build.sh (in src).  I suggest that you check out sources and
> build the entire system yourself, and then nbmake-amd64 will be
> available.  It will use the compiler also built as part of tools.

In case you have already done the "build.sh build" (or simmilar) step:
the nbmake-$arch file is created in the ${TOOLDIR}/bin path, where
$TOOLDIR comes from the -T argument to build.sh (or is auto-generated
from the $OBJDIR).

If you look at the first lines of the build.sh output you will see
something like:

===> TOOLDIR path:        /work/tools
===> DESTDIR path:        /work/branches/hosts-current/evbearmv5
===> RELEASEDIR path:     /work/branches/rel-current/evbearmv5
===> Updated makewrapper: /work/tools/bin/nbmake-evbarm

and here the "makewrapper" /work/tools/bin/nbmake-evbarm is the binary
that you are looking for (if you are building for amd64, it would be
..../bin/nbmake-amd64).

Since it usually will not be in your $PATH, you need to invoke it with
an absolute path.


Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.