Subject: Failed target: boot-tiny1.fs
To: None <current-users@NetBSD.ORG>
From: None <sigsegv@rambler.ru>
List: current-users
Date: 07/11/2004 10:18:46
Running "./build.sh -x -X /usr/xsrc release" for i386 fails with an 
error message, that basically says "Image is too big to fit on a single 
floppy" or something like that:

*** Failed target:  boot-tiny1.fs
*** Failed command: 
PAX=/usr/src.10072004/tooldir.NetBSD-2.0F-i386/bin/nbpax sh /us
r/src.10072004/distrib/common/buildfloppies.sh -i 
"/usr/src.10072004/tooldir.NetBSD
-2.0F-i386/bin/nbinstallboot -mi386 @IMAGE@ 
/usr/src.10072004/destdir.i386/usr/mdec
/bootxx_ustarfs" -p -m 1 -s .fs boot-tiny 2400 boot USTAR.volsize.4540 
netbsd
*** Error code 1

I usually fix it by editing 
"/usr/src/distrib/i386/floppies/bootfloppy-tiny/Makefile" and adding the 
following line to it:

FLOPPYMAX=      2


I'm sure some people are aware of this problem, as it keeps showing up 
over and over again. I don't fully understand the build process and 
adding "FLOPPYMAX= 2" could be an ugly hack. What do you think would be 
a correct way to solve this?