Home | History | Annotate | only in /src/distrib/i386/floppies
History log of /src/distrib/i386/floppies
RevisionDateAuthorComments
 1.38 10-Feb-2011  jym Reinstate INSTALL kernel for embedded ramdisk installs.

Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
 1.37 03-Sep-2008  lukem branches: 1.37.14;
remove duplicate entry for bootfloppy-big
 1.36 15-Nov-2007  joerg branches: 1.36.8; 1.36.12;
Remove GENERIC_LAPTOP and INSTALL_LAPTOP. To compensate, switch
bootfloppy-big to actually use INSTALL_LARGE (with ACPI) and 5 floppies.
 1.35 19-Nov-2006  dsl branches: 1.35.8;
As has been pointed out recently, the list of i386 release kernels needs
updating. Probably to an ACPI kernel that need not fit into an 'emulated floppy'
and a 'legacy' kernel that will fit.
In any case the small/tiny kernels which are really for i386 systems with
< 16MB of memory (some are sized for a 5.25" floppy) don't need to be built.
Remove bootfloppy-small, bootfloppy-tiny, rescue-tiny and bootfloppy-ps2
and associated ramdisks.
 1.34 02-Jun-2006  hubertf Prepare creation of boot CDs:

* Move files in distrib/i386:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk-big/Makefile -> ramdisks/ramdisk-big/Makefile
floppies/ramdisk-big/disktab.preinstall -> ramdisks/ramdisk-big/disktab.preinstall
floppies/ramdisk-big/list -> ramdisks/ramdisk-big/list
floppies/ramdisk-big/list.inet6 -> ramdisks/ramdisk-big/list.inet6
floppies/ramdisk-rescuetiny/Makefile -> ramdisks/ramdisk-rescuetiny/Makefile
floppies/ramdisk-rescuetiny/list -> ramdisks/ramdisk-rescuetiny/list
floppies/ramdisk-small/Makefile -> ramdisks/ramdisk-small/Makefile
floppies/ramdisk-small/list -> ramdisks/ramdisk-small/list
floppies/ramdisk-tiny/Makefile -> ramdisks/ramdisk-tiny/Makefile
floppies/ramdisk-tiny/list -> ramdisks/ramdisk-tiny/list
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

* Adjust paths
 1.33 26-Jun-2005  thorpej Restructure this Makefile to make it easier to comment out subdirectories.
 1.32 23-Dec-2002  lukem Add bootfloppy-laptop-big, which creates bootlap-big.fs, which is a 2.88MB
version of bootlap[12].fs.
This is suitable for using as a boot file for an El Torito CD-ROM image
to be used to boot laptops, as it has the INSTALL_LAPTOP kernel
(instead of the INSTALL kernel that bootbig.fs has).
 1.31 16-Oct-2002  lukem As both boot-small and rescue-small have expanded onto a second 1.2MB
floppy (and there's not the same RAM contraints that *-tiny has),
fold rescue-small into boot-small and deprecate the former.
The "all in one" boot-small is only 100KB larger on the second floppy.
 1.30 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.29 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.28 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.27 08-Nov-2001  jmc Turn back on all floppies. They all build once again with both new and old
toolchains
 1.26 08-Nov-2001  christos 1. delete all instances of /dev/{r,}vnd0d. Use vnconfig vnd0 and disklabel
vnd0 and let opendisk(3) DTRT.
2. resize some of the images since we've gotten an average of 5K more
with the new toolchain.
3. comment out the rescue disks, since they don't fit anymore.

Now the whole directory compiles and works with the in-tree toolchain,
but does not work still with USETOOLS.
 1.25 23-Sep-2001  tls GCC 2.95 generates significantly larger code with -O2 than our old compiler did; thus we overflow the floppies. I thought we used to explicitly set -Os in here; anyway, with this change, we do now!
 1.24 21-Jul-2001  jdolecek Add PS/2 bootfloppy, to be used for installation on IBM PS/2 machines.
 1.23 14-Dec-2000  jmc Re-enable all floppies. All of them now build.
 1.22 14-Dec-2000  mycroft rescue-small is currently borked, too.
 1.21 14-Dec-2000  mycroft Who'd've guessed? The -tiny floppies don't build any more.
 1.20 27-Sep-2000  fvdl Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.19 12-Jun-2000  he branches: 1.19.2;
Oops, need to descend into ramdisk-tiny now too.
 1.18 12-Jun-2000  he Fix the previous in another way:

o Wave goodbye to INSTALL_SMALL-based boot image (it was originally
built for 5.25" media, but isn't anymore).
o Make a separate ramdisk image for the INSTALL_TINY image,
using the old script-based installer (not fixed/checked at the moment).
However, at least tweak the profile scripts to start it instead of sysinst.
Also remove ping6 and rtsol from ramdisk compared to original; the
INSTALL_TINY image doesn't have INET6.
o Add dump/restore back into both ramdisk images.
o Add scsictl and chio to the normal ramdisk image (INSTALL-based fdset)
o With dump/restore reinstated, remove the rescue-* and ramdisk-rescue
directories.

So, we're now back to having the recovery tools on the same image as
the boot media images.
 1.17 10-Jun-2000  he Add construction of three types of "rescue" images, based on the
boot images.

The difference compared to the boot images is that these do not contain
sysinst, but do on the other hand contain dump/rdump, restore/rrestore,
scsictl and chio in addition to the other stuff already on the install
floppies.

The images built are
rescue1.fs
rescue2.fs Based on the full INSTALL kernel, on two floppies
rescue-sm.fs Based on INSTALL_SMALL
rescue-ti.fs Based on INSTALL_TINY
 1.16 10-May-2000  hubertf Make it easier to comment out single targets/floppies.
 1.15 06-May-2000  mycroft Build bootfloppy-small, as a 1.44MB floppy image.
 1.14 05-May-2000  mycroft Build bootfloppy-tiny again.
 1.13 05-May-2000  mycroft Merge latest build system changes, and use the kernels built in ramdisk-kernel.
 1.12 05-May-2000  mycroft Build in ramdisk-kernel.
 1.11 23-Apr-2000  sommerfeld Disable building of bootfloppy-tiny for now since we don't fit.
 1.10 09-Nov-1999  he Provide some more automation in the "make release" process. Also build
and install:
o INSTALL and INSTALL_TINY kernels (for boot floppy images)
o GENERIC_TINY kernel
o Boot floppy images
Ideas borrowed from etc/etc.sun3/ setup.
 1.9 01-Feb-1999  he branches: 1.9.2; 1.9.6;
bootfloppy-big/Makefile creates 2.88M diskette image suitable for CD-ROM boot.
(Depends on new disktab from etc/etc.i386/.)
Don't descend into bootfloppy and bootfloppy-small since these now overflow,
now do ramdisk, fdset, bootfloppy-big, and bootfloppy-tiny.
 1.8 12-Oct-1998  perry Fixes to the install floppies
(from Havard.Eidnes@runit.sintef.no)
 1.7 05-Nov-1997  perry Change default bootfloppy to 1.44M, and add a 1.2M "small" bootfloppy.
 1.6 14-Jun-1997  perry branches: 1.6.2;
Initial commit of new single floppy install/upgrade system.
 1.5 18-Feb-1997  mikel Merge separate kernel-copy floppies back into one. This is a stop-gap
measure; the next release will use something Different.
Update version number to 1.2C.
 1.4 09-Oct-1996  jtc merge in 1.2 branch
 1.3 30-Oct-1995  tls branches: 1.3.2; 1.3.6;
This should now be OK for the 1.1 release.
 1.2 12-May-1995  cgd only one kc now
 1.1 29-Aug-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 29-Aug-1994  cgd branches: 1.1.1.1.2;
i386 floppy build tools
 1.1.1.1.2.2 29-Aug-1994  cgd i386 floppy build tools
 1.1.1.1.2.1 29-Aug-1994  cgd file Makefile was added on branch netbsd-1-0 on 1994-08-29 15:30:16 +0000
 1.3.6.1 04-Sep-1996  thorpej Get version numbers right, and RCS id police.
 1.3.2.2 30-Oct-1995  tls This should now be OK for the 1.1 release.
 1.3.2.1 30-Oct-1995  tls file Makefile was added on branch netbsd-1-1 on 1995-10-30 02:25:37 +0000
 1.6.2.1 05-Nov-1997  thorpej Update from trunk: Add the "bootfloppy-small".
 1.9.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.2.3 08-Feb-2000  he Apply patch (requested by he):
No longer boot the single-floppy "bootfloppy" image; it no longer fits.
Do build the "bootfloppy-small" image.
 1.9.2.2 11-Nov-1999  he Pull up revision 1.10 (requested by he):
Improve automation for "make release", so that boot images are
automatically built and installed in RELEASEDIR.
 1.9.2.1 06-Jul-1999  perry pullup via patch (cgd): build bootfloppy
 1.19.2.2 27-Oct-2001  he Pull up revision 1.23 (partial, via patch, requested by fredb):
Create boot-com{1,2}.fs{,.gz} floppy images, for installing or
upgrading NetBSD/i386 on a machine with no video console at all.
 1.19.2.1 09-Oct-2000  fvdl Sync with -current. Approved by jhawk. Original commit message:

Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.35.8.1 09-Jan-2008  matt sync with HEAD
 1.36.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.36.8.2 05-Oct-2008  mjf Sync with HEAD.
 1.36.8.1 28-Sep-2008  mjf Sync with HEAD.
 1.37.14.1 17-Feb-2011  bouyer Sync with HEAD
 1.15 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.14 08-Feb-2002  lukem don't need REV and VER here anymore
 1.13 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.12 29-May-2000  matt branches: 1.12.2;
Make the path relative instead of using BSDSRCDIR
 1.11 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.10 14-Jun-1997  perry Initial commit of new single floppy install/upgrade system.
 1.9 11-May-1997  veego Add missing REV changes from lukem:
>Don't hardcode in the current release information; generate it
>automatically on the fly, by using
> `sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s`
 1.8 16-Mar-1997  veego Bump the REV to 12D to get in sync with param.h and newvers.sh.
This REALLY needs to be in ONE file and not in 11 files.
 1.7 18-Feb-1997  mikel Merge separate kernel-copy floppies back into one. This is a stop-gap
measure; the next release will use something Different.
Update version number to 1.2C.
 1.6 25-Oct-1996  perry Bump to 1.2B. We really need to centralize this.
 1.5 15-Oct-1996  perry Bump revision number to 1.2A so that snapshots of -current will have
decent version numbers in them. This should really, really be in a
single file so in the future it only has to be changed in one place
for all distributions and documentation.
 1.4 09-Oct-1996  jtc merge in 1.2 branch
 1.3 30-Oct-1995  tls branches: 1.3.2; 1.3.6;
This should now be OK for the 1.1 release.
 1.2 16-Apr-1995  mycroft Update revision number.
 1.1 29-Aug-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 29-Aug-1994  cgd branches: 1.1.1.1.2;
i386 floppy build tools
 1.1.1.1.2.2 29-Aug-1994  cgd i386 floppy build tools
 1.1.1.1.2.1 29-Aug-1994  cgd file Makefile.inc was added on branch netbsd-1-0 on 1994-08-29 15:30:15 +0000
 1.3.6.2 13-Mar-1997  mycroft 1.2 -> 1.2.1, foo12 -> foo121
 1.3.6.1 04-Sep-1996  thorpej Bump revision to 1.2, and RCS id police.
 1.3.2.2 30-Oct-1995  tls This should now be OK for the 1.1 release.
 1.3.2.1 30-Oct-1995  tls file Makefile.inc was added on branch netbsd-1-1 on 1995-10-30 02:25:39 +0000
 1.12.2.1 25-Mar-2002  he Apply patch (requested by he):
Introduce dependency between ramdisk/miniroot construction and
osrelease.sh, to better support UPDATE builds of releases.
 1.6 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.5 09-Oct-1996  jtc merge in 1.2 branch
 1.4 14-Aug-1995  cgd branches: 1.4.6;
update to match current reality. also, make a "COPYDIR" list entry
type, to copy a directory, and clean up "COPY" list entries.
 1.3 10-Jun-1995  mycroft Explicitly remove files before copying or linking.
 1.2 18-Oct-1994  glass branches: 1.2.2;
1 floppy drive support
 1.1 29-Aug-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 29-Aug-1994  cgd i386 floppy build tools
 1.2.2.2 18-Oct-1994  glass 1 floppy drive support
 1.2.2.1 18-Oct-1994  glass file list2sh.awk was added on branch netbsd-1-0 on 1994-10-18 07:02:53 +0000
 1.4.6.1 04-Sep-1996  thorpej Get version numbers right, and RCS id police.
 1.3 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.2 09-Oct-1996  jtc merge in 1.2 branch
 1.1 29-Aug-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 29-Aug-1994  cgd branches: 1.1.1.1.2; 1.1.1.1.8;
i386 floppy build tools
 1.1.1.1.8.1 04-Sep-1996  thorpej Get version numbers right, and RCS id police.
 1.1.1.1.2.2 29-Aug-1994  cgd i386 floppy build tools
 1.1.1.1.2.1 29-Aug-1994  cgd file runlist.sh was added on branch netbsd-1-0 on 1994-08-29 15:30:15 +0000
 1.13 10-Feb-2011  jym Reinstate INSTALL kernel for embedded ramdisk installs.

Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
 1.12 30-Apr-2008  ad branches: 1.12.16;
For PR kern/38537:

- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
 1.11 14-May-2006  fredb branches: 1.11.20; 1.11.22;
Per consensus on tech-install, take "bootN.fs" and "boot-comN.fs" to three
floppies. (The build is broken again without this.) "boot-big1.fs", from
the same ramdisk as "bootN.fs", still just fits in 2880KB by virtue of the
fact that the 9KB of padding is only added once per floppy image.
 1.10 18-Nov-2002  lukem Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.9 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.8 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.7 27-Sep-2000  fvdl Remove old files in preparation of rearrangement.
 1.6 05-May-2000  mycroft branches: 1.6.4;
Merge latest build system changes, and use the kernels built in ramdisk-kernel.
 1.5 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.4 23-Mar-1999  drochner allow to set location of INSTALL kernel from command line so that
bootfloppies can be built with r/o /usr/src or with other kernels
 1.3 29-Nov-1997  perry remove ${REV} from floppy names per new practice.
 1.2 17-Jun-1997  perry branches: 1.2.2;
boot-.fs -> boot.fs
 1.1 14-Jun-1997  perry Initial commit of new single floppy install/upgrade system.
 1.2.2.1 29-Nov-1997  perry pullup from trunk:remove ${REV} from floppy names per new practice.
 1.6.4.1 09-Oct-2000  fvdl Sync with -current (approved by jhawk).

Original log message:
Remove old files in preparation of rearrangement.
 1.11.22.1 18-May-2008  yamt sync with head.
 1.11.20.2 05-Oct-2008  mjf Sync with HEAD.
 1.11.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.16.1 17-Feb-2011  bouyer Sync with HEAD
 1.25 30-Apr-2008  ad For PR kern/38537:

- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
 1.24 15-Nov-2007  joerg branches: 1.24.8; 1.24.10;
Remove GENERIC_LAPTOP and INSTALL_LAPTOP. To compensate, switch
bootfloppy-big to actually use INSTALL_LARGE (with ACPI) and 5 floppies.
 1.23 24-Apr-2006  snj branches: 1.23.10;
It's "its."
 1.22 18-Dec-2003  lukem Pad all floppy images to the floppy size.
Requested by Jason Thorpe in [port-i386/23785]
 1.21 18-Nov-2002  lukem Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.20 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.19 12-May-2002  lukem always set FLOPPYMETAFILE if FLOPPYSIZE!=2880
 1.18 16-Apr-2002  lukem Migrate MI-shareable stuff to distrib/common/Makefile.tarfloppy.
 1.17 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.16 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.15 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.14 08-Feb-2002  lukem since we have ${TOP}, use it...
 1.13 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.12 03-Feb-2002  lukem revert revs 1.10 (and 1.11); now back to using the ustarfs build framework
from ../bootfloppy-common/Makefile.inc like the other boot floppies.
it wasn't ustarfs that was broken, it was the broken PAD=yes code in the
latter trashing the last 8k of the kernel...
 1.11 08-Nov-2001  christos 1. delete all instances of /dev/{r,}vnd0d. Use vnconfig vnd0 and disklabel
vnd0 and let opendisk(3) DTRT.
2. resize some of the images since we've gotten an average of 5K more
with the new toolchain.
3. comment out the rescue disks, since they don't fit anymore.

Now the whole directory compiles and works with the in-tree toolchain,
but does not work still with USETOOLS.
 1.10 17-Oct-2000  fvdl Switch this one back to FFS, at least until ustarfs is fixed. ustarfs seems
to fail for 2.88 images at certain image sizes.
 1.9 27-Sep-2000  fvdl Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.8 09-Jul-2000  fvdl If the PAD variable is defined, pad the floppy image to its maximum size.
Use this in bootfloppy-big. mkisofs likes to have images fullsize nowadays.
Also, insert a file called "USTAR.volsize.<blocksize_in_octal>" if the
size of the ustar image is not the 1.44M default. This stops bootfloppy-big
from asking for a second diskette.
 1.7 05-May-2000  mycroft branches: 1.7.4;
Need BLOCK8K now.
 1.6 05-May-2000  mycroft Merge latest build system changes, and use the kernels built in ramdisk-kernel.
 1.5 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.4 23-Mar-1999  drochner allow to set location of INSTALL kernel from command line so that
bootfloppies can be built with r/o /usr/src or with other kernels
 1.3 08-Mar-1999  he Let's call this image boot-big.fs.
 1.2 17-Feb-1999  he Typo correction.
 1.1 01-Feb-1999  he bootfloppy-big/Makefile creates 2.88M diskette image suitable for CD-ROM boot.
(Depends on new disktab from etc/etc.i386/.)
Don't descend into bootfloppy and bootfloppy-small since these now overflow,
now do ramdisk, fdset, bootfloppy-big, and bootfloppy-tiny.
 1.7.4.3 18-Oct-2000  tv Pullup 1.10 [fvdl]:
Switch this one back to FFS, at least until ustarfs is fixed. ustarfs seems
to fail for 2.88 images at certain image sizes.
 1.7.4.2 09-Oct-2000  fvdl Sync with -current. Approved by jhawk. Original commit message:

Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.7.4.1 20-Jul-2000  fvdl Set variables (handled in bootfloppy-common/Makefile) to make sure
the 2.88 image is padded and contains the magic file to tell
ustarfs the right size. From trunk (1.8).
 1.23.10.1 09-Jan-2008  matt sync with HEAD
 1.24.10.1 18-May-2008  yamt sync with head.
 1.24.8.2 05-Oct-2008  mjf Sync with HEAD.
 1.24.8.1 02-Jun-2008  mjf Sync with HEAD.
 1.8 10-Feb-2011  jym Reinstate INSTALL kernel for embedded ramdisk installs.

Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
 1.7 30-Apr-2008  ad branches: 1.7.16;
For PR kern/38537:

- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
 1.6 14-May-2006  fredb branches: 1.6.20; 1.6.22;
Per consensus on tech-install, take "bootN.fs" and "boot-comN.fs" to three
floppies. (The build is broken again without this.) "boot-big1.fs", from
the same ramdisk as "bootN.fs", still just fits in 2880KB by virtue of the
fact that the 9KB of padding is only added once per floppy image.
 1.5 26-Jul-2003  dsl Use ${TOOL_INSTALLBOOT} - it does work on ustarfs filesytems.
Pass correct option to installboot for bootfloppy-com (serial bootfloppy).
 1.4 18-Nov-2002  lukem Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.3 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.2 16-Apr-2002  lukem Migrate MI-shareable stuff to distrib/common/Makefile.tarfloppy.
 1.1 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.6.22.1 18-May-2008  yamt sync with head.
 1.6.20.2 05-Oct-2008  mjf Sync with HEAD.
 1.6.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.16.1 17-Feb-2011  bouyer Sync with HEAD
 1.10 20-Jan-2003  lukem branches: 1.10.32;
Let this grow to a second floppy. It's much less work than trying to
shave space here & there, only to have the problem occur the next time
the kernel or the ramdisk image slightly grows again.
 1.9 18-Nov-2002  lukem Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.8 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.7 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.6 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.5 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.4 08-Feb-2002  lukem since we have ${TOP}, use it...
 1.3 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.2 30-Jul-2001  jdolecek make BLOCK8K match DISKSIZE
 1.1 21-Jul-2001  jdolecek Add PS/2 bootfloppy, to be used for installation on IBM PS/2 machines.
 1.10.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.17 18-Nov-2002  lukem branches: 1.17.32;
Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.16 16-Oct-2002  lukem netbsd.INSTALL_SMALL and netbsd.RESCUE_SMALL have grown past the size
of a single 1.2MB floppy; cranky FLOPPYMAX to use two floppies.
the kernel and the contents of the ramdiskbin have both grown...

(We should just merge the install & rescue functionality of the -small
floppies into one two x 1.2MB floppy set, since -small is for older
machines with 1.2MB floppy drives, versus those with extremely small
RAM constraints)
 1.15 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.14 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.13 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.12 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.11 08-Feb-2002  lukem since we have ${TOP}, use it...
 1.10 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.9 27-Sep-2000  fvdl branches: 1.9.2;
Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.8 12-Jun-2000  he Fix the previous in another way:

o Wave goodbye to INSTALL_SMALL-based boot image (it was originally
built for 5.25" media, but isn't anymore).
o Make a separate ramdisk image for the INSTALL_TINY image,
using the old script-based installer (not fixed/checked at the moment).
However, at least tweak the profile scripts to start it instead of sysinst.
Also remove ping6 and rtsol from ramdisk compared to original; the
INSTALL_TINY image doesn't have INET6.
o Add dump/restore back into both ramdisk images.
o Add scsictl and chio to the normal ramdisk image (INSTALL-based fdset)
o With dump/restore reinstated, remove the rescue-* and ramdisk-rescue
directories.

So, we're now back to having the recovery tools on the same image as
the boot media images.
 1.7 06-May-2000  mycroft Build bootfloppy-small, as a 1.44MB floppy image.
 1.6 05-May-2000  mycroft Need BLOCK8K now.
 1.5 05-May-2000  mycroft Merge latest build system changes, and use the kernels built in ramdisk-kernel.
 1.4 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.3 23-Mar-1999  drochner allow to set location of INSTALL kernel from command line so that
bootfloppies can be built with r/o /usr/src or with other kernels
 1.2 29-Nov-1997  perry remove ${REV} from floppy names per new practice.
 1.1 05-Nov-1997  perry branches: 1.1.2;
small (1.2M) bootfloppy Makefile
 1.1.2.2 29-Nov-1997  perry pullup from trunk:remove ${REV} from floppy names per new practice.
 1.1.2.1 05-Nov-1997  perry file Makefile was added on branch netbsd-1-3 on 1997-11-29 21:29:09 +0000
 1.9.2.2 09-Oct-2000  fvdl Sync with -current. Approved by jhawk. Original commit message:

Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.9.2.1 27-Sep-2000  fvdl file Makefile was added on branch netbsd-1-5 on 2000-10-09 13:43:28 +0000
 1.17.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.13 18-Nov-2002  lukem branches: 1.13.32;
Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.12 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.11 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.10 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.9 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.8 08-Feb-2002  lukem since we have ${TOP}, use it...
 1.7 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.6 27-Sep-2000  fvdl Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.5 05-May-2000  mycroft branches: 1.5.4;
Need BLOCK8K now.
 1.4 05-May-2000  mycroft Merge latest build system changes, and use the kernels built in ramdisk-kernel.
 1.3 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.2 23-Mar-1999  drochner allow to set location of INSTALL kernel from command line so that
bootfloppies can be built with r/o /usr/src or with other kernels
 1.1 12-Oct-1998  perry Fixes to the install floppies
(from Havard.Eidnes@runit.sintef.no)
 1.5.4.1 09-Oct-2000  fvdl Sync with -current. Approved by jhawk. Original commit message:

Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.13.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.23 10-Feb-2011  jym Reinstate INSTALL kernel for embedded ramdisk installs.

Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
 1.22 04-Nov-2008  dbj branches: 1.22.4;
avoid full path to boot.cfg file when building amd64 boot floppy
share code with i386
 1.21 26-Sep-2008  tsutsui branches: 1.21.2;
Put boot.cfg for bootfloppy into ustarfs without path
so that bootloader can load it properly.
 1.20 30-Apr-2008  ad Put a boot menu on the amd64+i386 boot floppies. Not used yet because
the ustar loader seems to have the menu code if'd out.
 1.19 02-Jun-2006  hubertf branches: 1.19.20; 1.19.22;
Prepare creation of boot CDs:

* Move files in distrib/i386:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk-big/Makefile -> ramdisks/ramdisk-big/Makefile
floppies/ramdisk-big/disktab.preinstall -> ramdisks/ramdisk-big/disktab.preinstall
floppies/ramdisk-big/list -> ramdisks/ramdisk-big/list
floppies/ramdisk-big/list.inet6 -> ramdisks/ramdisk-big/list.inet6
floppies/ramdisk-rescuetiny/Makefile -> ramdisks/ramdisk-rescuetiny/Makefile
floppies/ramdisk-rescuetiny/list -> ramdisks/ramdisk-rescuetiny/list
floppies/ramdisk-small/Makefile -> ramdisks/ramdisk-small/Makefile
floppies/ramdisk-small/list -> ramdisks/ramdisk-small/list
floppies/ramdisk-tiny/Makefile -> ramdisks/ramdisk-tiny/Makefile
floppies/ramdisk-tiny/list -> ramdisks/ramdisk-tiny/list
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

* Adjust paths
 1.18 18-Dec-2003  lukem Pad all floppy images to the floppy size.
Requested by Jason Thorpe in [port-i386/23785]
 1.17 08-Oct-2003  lukem Overhaul MBR handling (part 1):

<sys/bootblock.h>:
* Added definitions for the Master Boot Record (MBR) used by
a variety of systems (primarily i386), including the format
of the BIOS Parameter Block (BPB).
This information was cribbed from a variety of sources
including <sys/disklabel_mbr.h> which this is a superset of.

As part of this, some data structure elements and #defines
were renamed to be more "namespace friendly" and consistent
with other bootblocks and MBR documentation.
Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
* Deprecated in favor of <sys/bootblock.h> (the latter is more
"host tool" friendly).

amd64 & i386:
* Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
be consistent with the naming convention of the msdosfs tools.

* Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
and it's confusing to have two functionally equivalent bootblocks,
especially given that "ufs" has multiple meanings (it could be
a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

* Rework pbr.S (the first sector of bootxx_*):
+ Ensure that BPB (bytes 11..89) and the partition table
(bytes 446..509) do not contain code.
+ Add support for booting from FAT partitions if BOOT_FROM_FAT
is defined. (Only set for bootxx_msdos).
+ Remove "dummy" partition 3; if people want to installboot(8)
these to the start of the disk they can use fdisk(8) to
create a real MBR partition table...
+ Compile with TERSE_ERROR so it fits because of the above.
Whilst this is less user friendly, I feel it's important
to have a valid partition table and BPB in the MBR/PBR.

* Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
with other platforms.

* Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
we can boot off FAT partitions.

* Crank version of /usr/mdec/boot to 3.1, and fix some of the other
entries in the version file.

installboot(8) (i386):
* Read the existing MBR of the filesystem and retain the BIOS
Parameter Block (BPB) in bytes 11..89 and the MBR partition
table in bytes 446..509. (Previously installboot(8) would
trash those two sections of the MBR.)

mbrlabel(8):
* Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
 1.16 26-Jul-2003  dsl Use ${TOOL_INSTALLBOOT} - it does work on ustarfs filesytems.
Pass correct option to installboot for bootfloppy-com (serial bootfloppy).
 1.15 25-Jul-2003  dsl Switch boot floppies to 'new' i386 bootcode.
 1.14 16-Oct-2002  lukem Default FLOPPYMAX to 1 for i386 floppies, so the build will fail if an
image accidentally grows past 1 floppy and we didn't know about it.
 1.13 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.12 12-May-2002  lukem always set FLOPPYMETAFILE if FLOPPYSIZE!=2880
 1.11 04-May-2002  lukem - add support for [-s suffix] to buildfloppies.sh (defaults to "",
rather than the previous ".fs").
- add support for (optional) FLOPPYSUFFIX in Makefile.tarfloppy, and
use appropriately
- remove (now unnecessary) custom release targets in alpha/instkernel/*
 1.10 02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.9 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.8 16-Apr-2002  lukem Migrate MI-shareable stuff to distrib/common/Makefile.tarfloppy.
 1.7 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.6 11-Apr-2002  lukem use ${RELINSTALL} instead of cp -p
 1.5 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.4 10-Apr-2002  mycroft We need bsd.sys.mk to get ${STRIP} when USETOOLS is not set.
 1.3 26-Feb-2002  lukem minor whitespace cleanup
 1.2 26-Feb-2002  lukem add check_RELEASEDIR to targets that require RELEASEDIR to be set
 1.1 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.19.22.1 18-May-2008  yamt sync with head.
 1.19.20.3 05-Oct-2008  mjf Sync with HEAD.
 1.19.20.2 28-Sep-2008  mjf Sync with HEAD.
 1.19.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.21.2.1 15-Nov-2008  snj Pull up following revision(s) (requested by tsutsui in ticket #60):
distrib/amd64/floppies/common/Makefile.bootfloppy: revision 1.10
distrib/i386/floppies/common/Makefile.bootfloppy: revision 1.22
distrib/common/Makefile.tarfloppy: revision 1.14
avoid full path to boot.cfg file when building amd64 boot floppy
share code with i386
 1.22.4.1 17-Feb-2011  bouyer Sync with HEAD
 1.7 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.6 11-Apr-2002  lukem use ${RELINSTALL} instead of cp -p
 1.5 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.4 10-Apr-2002  mycroft We need bsd.sys.mk to get ${STRIP} when USETOOLS is not set.
 1.3 26-Feb-2002  lukem minor whitespace cleanup
 1.2 26-Feb-2002  lukem add check_RELEASEDIR to targets that require RELEASEDIR to be set
 1.1 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.3 11-Apr-2002  lukem remove unused cruft;
- Chuck Silvers pointed out that the nocluster goop set a now-unused variable
- we now use distrib/common/Makefile.mdset
 1.2 11-Apr-2002  lukem tweak
 1.1 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.24 02-Jun-2006  hubertf Prepare creation of boot CDs:

* Move files in distrib/i386:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk-big/Makefile -> ramdisks/ramdisk-big/Makefile
floppies/ramdisk-big/disktab.preinstall -> ramdisks/ramdisk-big/disktab.preinstall
floppies/ramdisk-big/list -> ramdisks/ramdisk-big/list
floppies/ramdisk-big/list.inet6 -> ramdisks/ramdisk-big/list.inet6
floppies/ramdisk-rescuetiny/Makefile -> ramdisks/ramdisk-rescuetiny/Makefile
floppies/ramdisk-rescuetiny/list -> ramdisks/ramdisk-rescuetiny/list
floppies/ramdisk-small/Makefile -> ramdisks/ramdisk-small/Makefile
floppies/ramdisk-small/list -> ramdisks/ramdisk-small/list
floppies/ramdisk-tiny/Makefile -> ramdisks/ramdisk-tiny/Makefile
floppies/ramdisk-tiny/list -> ramdisks/ramdisk-tiny/list
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

* Adjust paths
 1.23 10-Sep-2005  dsl Generate a cross-reference map file for the crunched binary.
 1.22 18-Apr-2004  dsl Add French, German and Polish sysinstmsgs to all ramdisks that include sysinst
expect those where at least one of the language variants isn't built,
and those that are known not to have enough space (i386 ramdisk-tiny).
Files added to list.sysinst, list.sysinst.en is used when these files
cannot be added.
This might hit a size limit on another build - but I have no (sane) way of
testing it.
 1.21 08-Oct-2003  lukem branches: 1.21.2;
Overhaul MBR handling (part 1):

<sys/bootblock.h>:
* Added definitions for the Master Boot Record (MBR) used by
a variety of systems (primarily i386), including the format
of the BIOS Parameter Block (BPB).
This information was cribbed from a variety of sources
including <sys/disklabel_mbr.h> which this is a superset of.

As part of this, some data structure elements and #defines
were renamed to be more "namespace friendly" and consistent
with other bootblocks and MBR documentation.
Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
* Deprecated in favor of <sys/bootblock.h> (the latter is more
"host tool" friendly).

amd64 & i386:
* Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
be consistent with the naming convention of the msdosfs tools.

* Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
and it's confusing to have two functionally equivalent bootblocks,
especially given that "ufs" has multiple meanings (it could be
a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

* Rework pbr.S (the first sector of bootxx_*):
+ Ensure that BPB (bytes 11..89) and the partition table
(bytes 446..509) do not contain code.
+ Add support for booting from FAT partitions if BOOT_FROM_FAT
is defined. (Only set for bootxx_msdos).
+ Remove "dummy" partition 3; if people want to installboot(8)
these to the start of the disk they can use fdisk(8) to
create a real MBR partition table...
+ Compile with TERSE_ERROR so it fits because of the above.
Whilst this is less user friendly, I feel it's important
to have a valid partition table and BPB in the MBR/PBR.

* Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
with other platforms.

* Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
we can boot off FAT partitions.

* Crank version of /usr/mdec/boot to 3.1, and fix some of the other
entries in the version file.

installboot(8) (i386):
* Read the existing MBR of the filesystem and retain the BIOS
Parameter Block (BPB) in bytes 11..89 and the MBR partition
table in bytes 446..509. (Previously installboot(8) would
trash those two sections of the MBR.)

mbrlabel(8):
* Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
 1.20 05-Jun-2003  dsl Change i386 sysinst to use my new boot code.
Update lists for ramdisks to include the required files.
NB /usr/sbin/installboot is not used by sysinst and is only in ramdisk-big.
Increase the sizes of the ramdisks, there is plenty of space in all the
boot floppies except rescue-tiny (2k) and boot-tiny (32k).
 1.19 02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.18 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.17 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.16 06-Apr-2002  tsutsui Set DBG=-Os for libhack.
 1.15 03-Apr-2002  groo Reduce free inode count by one so ramdisk-big builds.
 1.14 01-Apr-2002  lukem ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
 1.13 28-Mar-2002  lukem - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
dependencies work correctly.
- Other minor cleanups
 1.12 28-Mar-2002  lukem cosmetic reorg
 1.11 25-Mar-2002  lukem Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.
 1.10 14-Mar-2002  lukem parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
with ENVIRON["FOO"].
- deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE}
and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @MACHINE@ with ${MACHINE}
 1.9 07-Mar-2002  lukem use parselist.awk's newly added MTREE arg rather than having an
mtree.conf fragment for one file
 1.8 06-Mar-2002  lukem cosmetic tweak
 1.7 06-Mar-2002  lukem replace ${_SRC_TOP_}/distrib with ${DISTRIBDIR}
 1.6 04-Mar-2002  lukem cosmetic sort
 1.5 25-Feb-2002  lukem explain why gethost.o is disabled
 1.4 08-Feb-2002  lukem - set ${TOP} to ${.CURDIR}/.., and use as appropriate
- use ${DISTRIBDIR} as appropriate
- migrate most of mtree.conf to ${DISTRIBDIR}/common/mtree.common,
leaving /.profile in mtree.conf
- remove MAKEDEV_DEVS support; replaced with MAKEDEVTARGETS support in
${DISTRIBDIR}/common/Makefile.makedev
 1.3 06-Feb-2002  lukem If MAKEDEV_DEVS is defined, run etc.i386/MAKEDEV through MAKEDEV.wrapper and
makedev2spec.awk to generate another mtree specfile for use when building
the image, and don't copy dev/MAKEDEV to the target image. This is primarily
for the tiny images which might not have enough memory for an mfs /dev.
Otherwise (MAKEDEV_DEVS not defined), continue to copy dev/MAKEDEV.
 1.2 05-Feb-2002  lukem add some more IMAGEDEPENDS
 1.1 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.21.2.1 21-Apr-2004  jmc Pullup rev 1.22 (requested by dsl in ticket #168)

Add French, German and Polish sysinstmsgs to all ramdisks that include sysinst
except those where at least one of the language variants isn't built,
and those that are known not to have enough space (i386 ramdisk-tiny).
Files added to list.sysinst, list.sysinst.en is used when these files
cannot be added.
 1.4 22-Apr-2019  maya Express more confidence in our ability to boot on hardware with ACPI
enabled and don't warn our users that it might not and already suggest
workarounds.

The ability to disable ACPI and SMP is still there, by dropping to
the boot prompt.
 1.3 10-Feb-2011  jym branches: 1.3.46;
Reinstate INSTALL kernel for embedded ramdisk installs.

Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
 1.2 08-Mar-2009  dholland branches: 1.2.2;
fix typo.
 1.1 30-Apr-2008  ad branches: 1.1.4; 1.1.6; 1.1.8; 1.1.10;
Put a boot menu on the amd64+i386 boot floppies. Not used yet because
the ustar loader seems to have the menu code if'd out.
 1.1.10.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.1.8.1 12-Mar-2009  snj Pull up following revision(s) (requested by dholland in ticket #557):
distrib/i386/floppies/common/boot.cfg: revision 1.2
fix typo.
 1.1.6.3 05-Oct-2008  mjf Sync with HEAD.
 1.1.6.2 02-Jun-2008  mjf Sync with HEAD.
 1.1.6.1 30-Apr-2008  mjf file boot.cfg was added on branch mjf-devfs2 on 2008-06-02 13:21:14 +0000
 1.1.4.2 18-May-2008  yamt sync with head.
 1.1.4.1 30-Apr-2008  yamt file boot.cfg was added on branch yamt-pf42 on 2008-05-18 12:29:35 +0000
 1.2.2.1 17-Feb-2011  bouyer Sync with HEAD
 1.3.46.1 10-Jun-2019  christos Sync with HEAD
 1.6 02-Jun-2006  hubertf Prepare creation of boot CDs:

* Move files in distrib/i386:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk-big/Makefile -> ramdisks/ramdisk-big/Makefile
floppies/ramdisk-big/disktab.preinstall -> ramdisks/ramdisk-big/disktab.preinstall
floppies/ramdisk-big/list -> ramdisks/ramdisk-big/list
floppies/ramdisk-big/list.inet6 -> ramdisks/ramdisk-big/list.inet6
floppies/ramdisk-rescuetiny/Makefile -> ramdisks/ramdisk-rescuetiny/Makefile
floppies/ramdisk-rescuetiny/list -> ramdisks/ramdisk-rescuetiny/list
floppies/ramdisk-small/Makefile -> ramdisks/ramdisk-small/Makefile
floppies/ramdisk-small/list -> ramdisks/ramdisk-small/list
floppies/ramdisk-tiny/Makefile -> ramdisks/ramdisk-tiny/Makefile
floppies/ramdisk-tiny/list -> ramdisks/ramdisk-tiny/list
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

* Adjust paths
 1.5 10-Sep-2005  dsl Add the dmesg() program to all the i386 ramdisk images and remove the
shell function implemented dmesg using 'cat /kern/msgbuf'.
This means we don't need kernfs.
 1.4 07-Dec-2003  dsl branches: 1.4.6;
Don't set baud rate when setting 'sane' stty settings, that way we use
the baud rate set by the bootloader.
Fixes PR port-i386/18358
 1.3 26-Jul-2003  salo netbsd.org->NetBSD.org
 1.2 24-Jun-2002  lukem Add wsvt25 termcap entry, and use it if BOOTMODEL=big. Sysinst now looks
nice in colour. From Grant Beattie <grant@netbsd.org>, with changes by me.
 1.1 03-Feb-2002  lukem branches: 1.1.2;
Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.1.2.1 09-Aug-2002  lukem Pull up revision 1.2 (requested by lukem):
Add wsvt25 termcap entry, and use it if BOOTMODEL=big. Sysinst now looks
nice in colour. From Grant Beattie <grant@netbsd.org>, with changes by me.
 1.4.6.1 10-Nov-2008  snj Apply patch (requested by bouyer in ticket #1975):
Make i386 INSTALL kernels fit on a single 2.88MB floppy, by removing
KERNFS/mount_kernfs(8), pcppi(4), and sysbeep(4) and adding dmesg(8)
to INSTALL kernels and ramdisks.
 1.2 08-Feb-2002  lukem - set ${TOP} to ${.CURDIR}/.., and use as appropriate
- use ${DISTRIBDIR} as appropriate
- migrate most of mtree.conf to ${DISTRIBDIR}/common/mtree.common,
leaving /.profile in mtree.conf
- remove MAKEDEV_DEVS support; replaced with MAKEDEVTARGETS support in
${DISTRIBDIR}/common/Makefile.makedev
 1.1 06-Feb-2002  lukem If MAKEDEV_DEVS is defined, run etc.i386/MAKEDEV through MAKEDEV.wrapper and
makedev2spec.awk to generate another mtree specfile for use when building
the image, and don't copy dev/MAKEDEV to the target image. This is primarily
for the tiny images which might not have enough memory for an mfs /dev.
Otherwise (MAKEDEV_DEVS not defined), continue to copy dev/MAKEDEV.
 1.12 02-Jun-2006  hubertf Prepare creation of boot CDs:

* Move files in distrib/i386:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk-big/Makefile -> ramdisks/ramdisk-big/Makefile
floppies/ramdisk-big/disktab.preinstall -> ramdisks/ramdisk-big/disktab.preinstall
floppies/ramdisk-big/list -> ramdisks/ramdisk-big/list
floppies/ramdisk-big/list.inet6 -> ramdisks/ramdisk-big/list.inet6
floppies/ramdisk-rescuetiny/Makefile -> ramdisks/ramdisk-rescuetiny/Makefile
floppies/ramdisk-rescuetiny/list -> ramdisks/ramdisk-rescuetiny/list
floppies/ramdisk-small/Makefile -> ramdisks/ramdisk-small/Makefile
floppies/ramdisk-small/list -> ramdisks/ramdisk-small/list
floppies/ramdisk-tiny/Makefile -> ramdisks/ramdisk-tiny/Makefile
floppies/ramdisk-tiny/list -> ramdisks/ramdisk-tiny/list
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

* Adjust paths
 1.11 30-Nov-2003  dsl Adds FFSv2 boot code to install floppies
 1.10 08-Oct-2003  lukem Overhaul MBR handling (part 1):

<sys/bootblock.h>:
* Added definitions for the Master Boot Record (MBR) used by
a variety of systems (primarily i386), including the format
of the BIOS Parameter Block (BPB).
This information was cribbed from a variety of sources
including <sys/disklabel_mbr.h> which this is a superset of.

As part of this, some data structure elements and #defines
were renamed to be more "namespace friendly" and consistent
with other bootblocks and MBR documentation.
Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
* Deprecated in favor of <sys/bootblock.h> (the latter is more
"host tool" friendly).

amd64 & i386:
* Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
be consistent with the naming convention of the msdosfs tools.

* Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
and it's confusing to have two functionally equivalent bootblocks,
especially given that "ufs" has multiple meanings (it could be
a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

* Rework pbr.S (the first sector of bootxx_*):
+ Ensure that BPB (bytes 11..89) and the partition table
(bytes 446..509) do not contain code.
+ Add support for booting from FAT partitions if BOOT_FROM_FAT
is defined. (Only set for bootxx_msdos).
+ Remove "dummy" partition 3; if people want to installboot(8)
these to the start of the disk they can use fdisk(8) to
create a real MBR partition table...
+ Compile with TERSE_ERROR so it fits because of the above.
Whilst this is less user friendly, I feel it's important
to have a valid partition table and BPB in the MBR/PBR.

* Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
with other platforms.

* Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
we can boot off FAT partitions.

* Crank version of /usr/mdec/boot to 3.1, and fix some of the other
entries in the version file.

installboot(8) (i386):
* Read the existing MBR of the filesystem and retain the BIOS
Parameter Block (BPB) in bytes 11..89 and the MBR partition
table in bytes 446..509. (Previously installboot(8) would
trash those two sections of the MBR.)

mbrlabel(8):
* Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
 1.9 05-Jun-2003  dsl Change i386 sysinst to use my new boot code.
Update lists for ramdisks to include the required files.
NB /usr/sbin/installboot is not used by sysinst and is only in ramdisk-big.
Increase the sizes of the ramdisks, there is plenty of space in all the
boot floppies except rescue-tiny (2k) and boot-tiny (32k).
 1.8 29-May-2002  lukem use 444 instead of 644 for /.profile
 1.7 26-Apr-2002  lukem branches: 1.7.2;
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.6 09-Apr-2002  lukem - add specific special entry for sys/arch/${MACHINE}/stand/installboot
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
 1.5 14-Mar-2002  lukem parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
with ENVIRON["FOO"].
- deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE}
and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @MACHINE@ with ${MACHINE}
 1.4 07-Mar-2002  lukem use parselist.awk's newly added MTREE arg rather than having an
mtree.conf fragment for one file
 1.3 08-Feb-2002  lukem - migrate a bunch of the common list stuff to common/list.ramdisk
- use ${DISTRIBDIR} as appropriate
- use ${DISTRIBDIR}/common/list.sysinst if USE_SYSINST is defined,
removing any replicated list info
- define USE_SYSINST in the sysinst-using ramdisks
- replace MAKEDEV_DEVS with MAKEDEVTARGETS
 1.2 06-Feb-2002  lukem If MAKEDEV_DEVS is defined, run etc.i386/MAKEDEV through MAKEDEV.wrapper and
makedev2spec.awk to generate another mtree specfile for use when building
the image, and don't copy dev/MAKEDEV to the target image. This is primarily
for the tiny images which might not have enough memory for an mfs /dev.
Otherwise (MAKEDEV_DEVS not defined), continue to copy dev/MAKEDEV.
 1.1 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.7.2.1 29-May-2002  lukem Pull up revision 1.8 (requested by lukem):
use 444 instead of 644 for /.profile
 1.4 07-Mar-2002  lukem use parselist.awk's newly added MTREE arg rather than having an
mtree.conf fragment for one file
 1.3 08-Feb-2002  lukem - set ${TOP} to ${.CURDIR}/.., and use as appropriate
- use ${DISTRIBDIR} as appropriate
- migrate most of mtree.conf to ${DISTRIBDIR}/common/mtree.common,
leaving /.profile in mtree.conf
- remove MAKEDEV_DEVS support; replaced with MAKEDEVTARGETS support in
${DISTRIBDIR}/common/Makefile.makedev
 1.2 06-Feb-2002  lukem no need to list etc/passwd anymore
 1.1 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.2 11-Apr-2002  lukem remove unused cruft;
- Chuck Silvers pointed out that the nocluster goop set a now-unused variable
- we now use distrib/common/Makefile.mdset
 1.1 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.3 02-Jun-2006  hubertf Prepare creation of boot CDs:

* Move files in distrib/i386:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk-big/Makefile -> ramdisks/ramdisk-big/Makefile
floppies/ramdisk-big/disktab.preinstall -> ramdisks/ramdisk-big/disktab.preinstall
floppies/ramdisk-big/list -> ramdisks/ramdisk-big/list
floppies/ramdisk-big/list.inet6 -> ramdisks/ramdisk-big/list.inet6
floppies/ramdisk-rescuetiny/Makefile -> ramdisks/ramdisk-rescuetiny/Makefile
floppies/ramdisk-rescuetiny/list -> ramdisks/ramdisk-rescuetiny/list
floppies/ramdisk-small/Makefile -> ramdisks/ramdisk-small/Makefile
floppies/ramdisk-small/list -> ramdisks/ramdisk-small/list
floppies/ramdisk-tiny/Makefile -> ramdisks/ramdisk-tiny/Makefile
floppies/ramdisk-tiny/list -> ramdisks/ramdisk-tiny/list
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

* Adjust paths
 1.2 24-Jun-2002  lukem Add wsvt25 termcap entry, and use it if BOOTMODEL=big. Sysinst now looks
nice in colour. From Grant Beattie <grant@netbsd.org>, with changes by me.
 1.1 03-Feb-2002  lukem branches: 1.1.2;
Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.1.2.1 09-Aug-2002  lukem Pull up revision 1.2 (requested by lukem):
Add wsvt25 termcap entry, and use it if BOOTMODEL=big. Sysinst now looks
nice in colour. From Grant Beattie <grant@netbsd.org>, with changes by me.
 1.12 18-Nov-2002  lukem branches: 1.12.32;
Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.11 14-Oct-2002  lukem Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
 1.10 16-Apr-2002  lukem we don't want "rescue-tiny.fs.fs" ...
 1.9 16-Apr-2002  lukem - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
 1.8 13-Apr-2002  lukem Use 3rd argument of MDSETTARGETS to change name of the rescue kernels
from netbsd.INSTALL_{SMALL,TINY} to netbsd.RESCUE_{SMALL,TINY}.
Go back to installing copies of these in the release directory.
 1.7 11-Apr-2002  lukem Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
 1.6 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.5 08-Feb-2002  lukem since we have ${TOP}, use it...
 1.4 03-Feb-2002  lukem Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename bootfloppy-common/Makefile.inc to common/Makefile.bootfloppy
and fdset-common/Makefile.inc to common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst. Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
 1.3 27-Sep-2000  fvdl branches: 1.3.2;
Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.2 12-Jun-2000  he Fix the previous in another way:

o Wave goodbye to INSTALL_SMALL-based boot image (it was originally
built for 5.25" media, but isn't anymore).
o Make a separate ramdisk image for the INSTALL_TINY image,
using the old script-based installer (not fixed/checked at the moment).
However, at least tweak the profile scripts to start it instead of sysinst.
Also remove ping6 and rtsol from ramdisk compared to original; the
INSTALL_TINY image doesn't have INET6.
o Add dump/restore back into both ramdisk images.
o Add scsictl and chio to the normal ramdisk image (INSTALL-based fdset)
o With dump/restore reinstated, remove the rescue-* and ramdisk-rescue
directories.

So, we're now back to having the recovery tools on the same image as
the boot media images.
 1.1 10-Jun-2000  he Add construction of three types of "rescue" images, based on the
boot images.

The difference compared to the boot images is that these do not contain
sysinst, but do on the other hand contain dump/rdump, restore/rrestore,
scsictl and chio in addition to the other stuff already on the install
floppies.

The images built are
rescue1.fs
rescue2.fs Based on the full INSTALL kernel, on two floppies
rescue-sm.fs Based on INSTALL_SMALL
rescue-ti.fs Based on INSTALL_TINY
 1.3.2.2 09-Oct-2000  fvdl Sync with -current. Approved by jhawk. Original commit message:

Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
 1.3.2.1 27-Sep-2000  fvdl file Makefile was added on branch netbsd-1-5 on 2000-10-09 13:43:34 +0000
 1.12.32.1 05-Oct-2008  mjf Sync with HEAD.

RSS XML Feed