Subject: build release sets but skip kernels
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 08/12/2003 08:37:58
With the netbsd-1-6 code, is there any option or variable to set so
build.sh will build the release sets but skip the kernels?

It took over six hours to build on this box and I didn't log the build,
but the end failed with:

 all ===> i386/floppies/bootfloppy-big
 Copying /backups/netbsd/destdir-1.6.1/usr/mdec/biosboot.sym to boot
 Creating USTAR.volsize.13200
 nbmake: don't know how to make
 /usr/src/distrib/i386/floppies/kernel-ramdisk/obj
 /netbsd.INSTALL.gz. Stop

 nbmake: stopped in /usr/src/distrib/i386/floppies/bootfloppy-big

I assume some prerequite failed. I was building with:
 export BSDOBJDIR=/backups/netbsd/obj
 time ./build.sh -U -D /backups/netbsd/destdir-1.6.1 -R /backups/netbsd/netbsd-1.6.1-release

So I decided to build again with UPDATE and log the build to see where it
failed earlier with:

 time ./build.sh -T tools -u -U -D /backups/netbsd/destdir-1.6.1 -R \
 /backups/netbsd/netbsd-1.6.1-release 2>&1 | tee LOG.2

But that still built many tools. I hoped it would skip the tool build
since it was finished (and I had made no changes). And it failed like:

 for f in locale se_locale; do  test -f
 /usr/src/tools/obj/tools.NetBSD-1.6-i386/share/groff/tmac/mm/$f || touch
 /usr/src/tools/obj/tools.NetBSD-1.6-i386/share/groff/tmac/mm/$f;  done
 /usr/src/tools/bin/nbinstall -c -p -r -m 444
 /usr/src/tools/groff/../../share/tmac/andoc
 /usr/src/tools/share/groff/tmac/tmac.andoc
 nbinstall: /usr/src/tools/share/groff/tmac: mkstemp: No such file or  directory
 *** Error code 1

 Stop.
 nbmake: stopped in /usr/src/tools/groff


Anyways, I don't need the kernels and boot floppies. All I want are the
tarfiles of the sets. Any options for build.sh to just do that?

(In the meanwhile, I will just use pax manually with -M.)


   Jeremy C. Reed
   http://bsd.reedmedia.net/