File:  [NetBSD Developer Wiki] / wikisrc / tutorials / how_to_build_install_sets__44___when_you_can__39__t_build_install_floppies.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Sun Feb 5 07:14:36 2012 UTC (2 years, 2 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
dos2unix

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. 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb