I think this might be useful for people, that use custom build flags when building NetBSD. It is loosely based on ftp://ftp.pulsar-zone.net/building-netbsd.txt

Building sets

Sometimes builds fail because things doesn't fit in 2.88M when built with certain optimizations. So if it's your case, then do:

# ./build.sh build distribution sets

instead of

# ./build.sh release

you'll in have your sets in your RELEASEDIR (/usr/obj/releasedir).

Build kernels

Do this for each kernel you want to build install set for

# ./build.sh kernel=GENERIC releasekernel=GENERIC

Finishing up

Then you may install over network, or build install floppies/cdrom without optimization.

Add a comment
Contact | Disclaimer | Copyright © 1994-2016 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.
NetBSD® is a registered trademark of The NetBSD Foundation, Inc.