Home | History | Annotate | only in /src/distrib/sun3
History log of /src/distrib/sun3
RevisionDateAuthorComments
 1.7 18-Nov-2002  lukem branches: 1.7.32;
Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.6 19-Jun-2000  tsutsui Rename netbsd-RAMDISK{,3X}.gz -> netbsd.RAMDISK{,3X}.gz for consistency.
etc/Makefile uses ${KERNEL}.${CONFIGFILE}.gz.
 1.5 10-Jun-2000  tsutsui Ramdisk kernels have been renamed.
 1.4 12-Feb-1998  gwr branches: 1.4.2;
New layout for the boot tape, with both sun3 and sun3x kernels.
 1.3 20-Dec-1997  gwr branches: 1.3.2;
Adapt to the new release.7 layout.
 1.2 18-Dec-1997  gwr consistent block size
 1.1 18-Dec-1997  gwr Scripts provided in the distribution under .../sun3/install/
 1.3.2.2 20-Dec-1997  perry pullup from trunk (gwr)
 1.3.2.1 20-Dec-1997  perry file MakeBootTape was added on branch netbsd-1-3 on 1997-12-20 23:12:39 +0000
 1.4.2.1 23-Jul-2000  he Pull up revisions 1.5-1.6 (requested by nathanw):
Fixes to release building machinery:
o ramdisk kernel names changed
 1.7.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.3 02-Oct-2019  maya Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
 1.2 20-Dec-1997  gwr branches: 1.2.2; 1.2.46; 1.2.114; 1.2.116;
Adapt to the new release.7 layout.
 1.1 18-Dec-1997  gwr Scripts provided in the distribution under .../sun3/install/
 1.2.116.1 17-Nov-2019  martin Pull up following revision(s) (requested by maya in ticket #435):

distrib/sets/maketars: revision 1.90
usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2
usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3
usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3
distrib/sun3/MakeInstTape: revision 1.3
usr.sbin/sysinst/util.c: revision 1.33
distrib/sets/lists/rescue/mi: revision 1.1
distrib/sets/lists/base/rescue.sun2: file removal
usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3
distrib/sets/lists/base/rescue.ad.m68k.shl: file removal
distrib/sets/regpkgset: revision 1.13
usr.sbin/sysinst/arch/i386/md.h: revision 1.7
distrib/sets/lists/base/rescue.sparc: file removal
distrib/notes/mvme68k/xfer: revision 1.19
distrib/sets/sets.subr: revision 1.187
distrib/common/bootimage/Makefile.bootimage: revision 1.22
usr.sbin/sysinst/msg.mi.de: revision 1.16
usr.sbin/sysinst/arch/atari/md.h: revision 1.3
rescue/Makefile: revision 1.38
distrib/sets/lists/base/rescue.macppc: file removal
usr.sbin/sysinst/arch/arc/md.h: revision 1.4
distrib/miniroot/install.sub: revision 1.49
usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3
usr.sbin/sysinst/arch/x68k/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3
usr.sbin/sysinst/arch/bebox/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2
distrib/sets/lists/base/rescue.shark: file removal
usr.sbin/sysinst/arch/emips/md.h: revision 1.5
distrib/utils/embedded/mkimage: revision 1.70
usr.sbin/sysinst/arch/shark/md.h: revision 1.3
usr.sbin/sysinst/arch/pmax/md.h: revision 1.4
usr.sbin/sysinst/arch/amiga/md.h: revision 1.4
usr.sbin/sysinst/arch/hp300/md.h: revision 1.5
rescue/list.ldconfig: file removal
distrib/sets/lists/base/rescue.ad.m68k: file removal
usr.sbin/sysinst/arch/prep/md.h: revision 1.4
usr.sbin/sysinst/arch/cats/md.h: revision 1.4
usr.sbin/sysinst/arch/amd64/md.h: revision 1.7
usr.sbin/sysinst/msg.mi.es: revision 1.17
usr.sbin/sysinst/msg.mi.fr: revision 1.20
usr.sbin/sysinst/msg.mi.pl: revision 1.23
distrib/sets/lists/base/rescue.i386: file removal
usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3
distrib/sets/lists/base/rescue.vax: file removal
distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12
usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3
distrib/sets/lists/base/rescue.mi: file removal
distrib/sets/README: revision 1.14
usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4
distrib/sets/lists/base/rescue.sparc64: file removal
distrib/sets/lists/base/rescue.mi: revision 1.45
distrib/sets/lists/base/rescue.mi: revision 1.46
usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4
usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4
distrib/sets/lists/base/rescue.ad.arm: file removal
distrib/sets/lists/base/rescue.mac68k: file removal
usr.sbin/sysinst/defs.h: revision 1.45
usr.sbin/sysinst/arch/landisk/md.h: revision 1.2
distrib/notes/atari/xfer: revision 1.17
etc/Makefile: revision 1.441
usr.sbin/sysinst/msg.mi.en: revision 1.22
distrib/sun2/MakeInstTape: revision 1.2

Remove ldconfig from /rescue, and mark it MI obsolete.
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
since NetBSD 2.0 or so, and having it in /rescue served little purpose
even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
is the sole entry

Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.

Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
 1.2.114.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.46.1 05-Oct-2008  mjf Sync with HEAD.
 1.2.2.2 20-Dec-1997  perry pullup from trunk (gwr)
 1.2.2.1 20-Dec-1997  perry file MakeInstTape was added on branch netbsd-1-3 on 1997-12-20 23:12:40 +0000
 1.12 23-Sep-2025  rillig all: fix "Invalid internal option" warning from make
 1.11 22-Jan-2012  tsutsui Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
 1.10 23-Jun-2008  matt branches: 1.10.18;
Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
 1.9 06-Mar-2007  bouyer branches: 1.9.12; 1.9.16;
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
 1.8 03-Jan-2003  lukem branches: 1.8.16;
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
 1.7 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.6 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.5 26-Apr-2002  lukem use RELINSTALL
 1.4 04-Oct-2001  chs make this work with obj dirs.
 1.3 21-May-1999  gwr Add a release target to automate building release snapshots.
 1.2 12-Oct-1995  gwr branches: 1.2.2; 1.2.8;
NetBSD ID string.
 1.1 08-Oct-1995  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 08-Oct-1995  gwr Support for making sun3 installation media.
 1.2.8.1 21-Jun-1999  perry pullup 1.2->1.3 (gwr)
 1.2.2.2 12-Oct-1995  gwr NetBSD ID string.
 1.2.2.1 12-Oct-1995  gwr file Makefile was added on branch netbsd-1-1 on 1995-10-12 21:16:54 +0000
 1.8.16.1 09-Mar-2007  riz Pull up following revision(s) (requested by bouyer in ticket #494):
sys/arch/i386/conf/GENERIC.MP: revision 1.9
distrib/pc532/cdroms/installcd/Makefile: revision 1.1
distrib/macppc/Makefile: revision 1.15
distrib/ofppc/Makefile: revision 1.2
distrib/ibmnws/Makefile: revision 1.2
distrib/acorn32/Makefile: revision 1.18
distrib/x68k/cdroms/installcd/Makefile: revision 1.1
distrib/sparc/Makefile: revision 1.7
distrib/sparc64/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/Makefile: revision 1.1
distrib/hpcsh/Makefile: revision 1.6
distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/Makefile: revision 1.13
distrib/news68k/cdroms/installcd/Makefile: revision 1.1
distrib/amiga/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/cdroms/Makefile: revision 1.1
distrib/amiga/cdroms/Makefile: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.18
distrib/shark/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/Makefile: revision 1.28
distrib/hpcmips/cdroms/Makefile: revision 1.1
distrib/amd64/floppies/Makefile: revision 1.3
sys/arch/amd64/conf/INSTALL_ACPI: file removal
distrib/i386/cdroms/Makefile: revision 1.4
distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
distrib/hpcsh/cdroms/Makefile: revision 1.1
distrib/prep/cdroms/Makefile: revision 1.1
distrib/pc532/Makefile: revision 1.4
distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
distrib/sun2/Makefile: revision 1.8
distrib/vax/Makefile: revision 1.17
distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/cdroms/Makefile: revision 1.1
distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
distrib/sun3/cdroms/installcd/Makefile: revision 1.1
distrib/vax/cdroms/installcd/Makefile: revision 1.1
distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
distrib/mvme68k/Makefile: revision 1.4
distrib/mvmeppc/cdroms/Makefile: revision 1.1
distrib/newsmips/Makefile: revision 1.4
sys/arch/i386/conf/GENERIC.MPACPI: file removal
distrib/hpcarm/cdroms/Makefile: revision 1.1
distrib/evbppc/cdroms/Makefile: revision 1.1
sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
distrib/i386/cdroms/installcd/Makefile: revision 1.2
distrib/i386/cdroms/installcd/Makefile: revision 1.3
doc/CHANGES: revision 1.804
distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.2
distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.3
distrib/evbarm/Makefile: revision 1.8
distrib/mvmeppc/Makefile: revision 1.3
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
distrib/macppc/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/cdroms/Makefile: revision 1.1
distrib/alpha/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/installcd/Makefile: revision 1.1
distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/Makefile: revision 1.2
distrib/pmppc/Makefile: revision 1.2
distrib/arc/cdroms/Makefile: revision 1.1
sys/arch/amd64/conf/INSTALL: revision 1.66
distrib/sun3/cdroms/Makefile: revision 1.1
distrib/mipsco/Makefile: revision 1.4
distrib/sun3/Makefile: revision 1.9
distrib/vax/cdroms/Makefile: revision 1.1
distrib/pmppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
distrib/atari/cdroms/installcd/Makefile: revision 1.1
distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/Makefile: revision 1.4
Makefile: revision 1.247
distrib/cats/cdroms/installcd/Makefile: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.130
sys/arch/amd64/conf/GENERIC: revision 1.131
distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/Makefile: revision 1.1
distrib/cats/cdroms/Makefile: revision 1.1
distrib/evbmips/Makefile: revision 1.3
distrib/evbmips/Makefile: revision 1.4
sys/arch/amd64/conf/GENERIC_ACPI: file removal
distrib/ews4800mips/Makefile: revision 1.2
distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/Makefile: revision 1.5
distrib/amd64/cdroms/installcd/Makefile: revision 1.2
distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/cdroms/installcd/Makefile: revision 1.1
etc/etc.amd64/Makefile.inc: revision 1.7
distrib/i386/instkernel/Makefile: revision 1.6
distrib/x68k/cdroms/Makefile: revision 1.1
distrib/i386/cdroms/Makefile.cdrom: revision 1.1
distrib/sandpoint/Makefile: revision 1.4
distrib/i386/cdroms/Makefile.cdrom: revision 1.2
distrib/amiga/Makefile: revision 1.3
distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
distrib/news68k/Makefile: revision 1.4
distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
distrib/news68k/cdroms/Makefile: revision 1.1
distrib/sparc/cdroms/Makefile: revision 1.1
distrib/shark/cdroms/Makefile: revision 1.1
etc/Makefile: revision 1.341
distrib/amd64/instkernel/Makefile: revision 1.2
distrib/sparc64/Makefile: revision 1.7
distrib/dreamcast/cdroms/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.3
distrib/ews4800mips/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/installcd/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.4
distrib/macppc/cdroms/Makefile: revision 1.1
distrib/mvme68k/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/Makefile: revision 1.1
distrib/hpcarm/Makefile: revision 1.3
distrib/arc/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
distrib/mipsco/cdroms/Makefile: revision 1.1
distrib/Makefile.inc: revision 1.9
distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/Makefile: revision 1.1
distrib/arc/Makefile: revision 1.3
distrib/sparc/cdroms/installcd/Makefile: revision 1.1
distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
distrib/prep/Makefile: revision 1.3
distrib/ibmnws/cdroms/Makefile: revision 1.1
distrib/sandpoint/cdroms/Makefile: revision 1.1
distrib/atari/Makefile: revision 1.6
distrib/sgimips/cdroms/Makefile: revision 1.1
distrib/amd64/Makefile: revision 1.4
distrib/atari/cdroms/Makefile: revision 1.1
distrib/x68k/Makefile: revision 1.5
distrib/x68k/Makefile: revision 1.6
distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
distrib/evbarm/cdroms/Makefile: revision 1.1
distrib/acorn32/cdroms/Makefile: revision 1.1
distrib/cats/Makefile: revision 1.3
distrib/evbmips/cdroms/Makefile: revision 1.1
distrib/pc532/cdroms/Makefile: revision 1.1
distrib/Makefile: revision 1.14
distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
distrib/ofppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile: revision 1.3
distrib/common/Makefile.bootcd: revision 1.8
distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
sys/arch/i386/conf/GENERIC: revision 1.813
distrib/hp300/Makefile: revision 1.17
sys/arch/i386/conf/GENERIC: revision 1.814
distrib/evbppc/Makefile: revision 1.2
distrib/pmax/cdroms/installcd/Makefile: revision 1.1
etc/etc.i386/Makefile.inc: revision 1.49
distrib/sgimips/Makefile: revision 1.2
distrib/prep/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/Makefile: revision 1.4
distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/Makefile: revision 1.22
distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
 1.9.16.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.9.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.9.12.1 29-Jun-2008  mjf Sync with HEAD.
 1.10.18.1 17-Apr-2012  yamt sync with head
 1.12 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.11 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.10 10-Apr-2002  lukem replace BSDSRCDIR with _SRC_TOP_, since the latter is more likely to
be "accurate". document _SRC_TOP_.
 1.9 06-Mar-2002  lukem replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc
 1.8 02-May-2000  sjg branches: 1.8.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.7 16-May-1999  gwr updates for the 1.4 release
 1.6 02-Mar-1998  cgd branches: 1.6.2;
note that only static compilation makes sense here
 1.5 10-May-1997  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.4 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.3 09-Oct-1996  jtc merge in 1.2 branch
 1.2 13-Oct-1995  gwr branches: 1.2.2; 1.2.6;
Release=1.1
 1.1 08-Oct-1995  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 08-Oct-1995  gwr Support for making sun3 installation media.
 1.2.6.2 13-Mar-1997  mycroft 1.2 -> 1.2.1, foo12 -> foo121
 1.2.6.1 29-Aug-1996  gwr REV=12
 1.2.2.2 13-Oct-1995  gwr Release=1.1
 1.2.2.1 13-Oct-1995  gwr file Makefile.inc was added on branch netbsd-1-1 on 1995-10-13 16:01:03 +0000
 1.6.2.1 21-Jun-1999  perry pullup 1.6->1.7 (gwr)
 1.8.4.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.1 06-Mar-2007  bouyer branches: 1.1.2; 1.1.14;
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
 1.1.14.1 05-Oct-2008  mjf Sync with HEAD.
 1.1.2.2 09-Mar-2007  riz Pull up following revision(s) (requested by bouyer in ticket #494):
sys/arch/i386/conf/GENERIC.MP: revision 1.9
distrib/pc532/cdroms/installcd/Makefile: revision 1.1
distrib/macppc/Makefile: revision 1.15
distrib/ofppc/Makefile: revision 1.2
distrib/ibmnws/Makefile: revision 1.2
distrib/acorn32/Makefile: revision 1.18
distrib/x68k/cdroms/installcd/Makefile: revision 1.1
distrib/sparc/Makefile: revision 1.7
distrib/sparc64/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/Makefile: revision 1.1
distrib/hpcsh/Makefile: revision 1.6
distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/Makefile: revision 1.13
distrib/news68k/cdroms/installcd/Makefile: revision 1.1
distrib/amiga/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/cdroms/Makefile: revision 1.1
distrib/amiga/cdroms/Makefile: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.18
distrib/shark/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/Makefile: revision 1.28
distrib/hpcmips/cdroms/Makefile: revision 1.1
distrib/amd64/floppies/Makefile: revision 1.3
sys/arch/amd64/conf/INSTALL_ACPI: file removal
distrib/i386/cdroms/Makefile: revision 1.4
distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
distrib/hpcsh/cdroms/Makefile: revision 1.1
distrib/prep/cdroms/Makefile: revision 1.1
distrib/pc532/Makefile: revision 1.4
distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
distrib/sun2/Makefile: revision 1.8
distrib/vax/Makefile: revision 1.17
distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/cdroms/Makefile: revision 1.1
distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
distrib/sun3/cdroms/installcd/Makefile: revision 1.1
distrib/vax/cdroms/installcd/Makefile: revision 1.1
distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
distrib/mvme68k/Makefile: revision 1.4
distrib/mvmeppc/cdroms/Makefile: revision 1.1
distrib/newsmips/Makefile: revision 1.4
sys/arch/i386/conf/GENERIC.MPACPI: file removal
distrib/hpcarm/cdroms/Makefile: revision 1.1
distrib/evbppc/cdroms/Makefile: revision 1.1
sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
distrib/i386/cdroms/installcd/Makefile: revision 1.2
distrib/i386/cdroms/installcd/Makefile: revision 1.3
doc/CHANGES: revision 1.804
distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.2
distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.3
distrib/evbarm/Makefile: revision 1.8
distrib/mvmeppc/Makefile: revision 1.3
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
distrib/macppc/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/cdroms/Makefile: revision 1.1
distrib/alpha/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/installcd/Makefile: revision 1.1
distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/Makefile: revision 1.2
distrib/pmppc/Makefile: revision 1.2
distrib/arc/cdroms/Makefile: revision 1.1
sys/arch/amd64/conf/INSTALL: revision 1.66
distrib/sun3/cdroms/Makefile: revision 1.1
distrib/mipsco/Makefile: revision 1.4
distrib/sun3/Makefile: revision 1.9
distrib/vax/cdroms/Makefile: revision 1.1
distrib/pmppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
distrib/atari/cdroms/installcd/Makefile: revision 1.1
distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/Makefile: revision 1.4
Makefile: revision 1.247
distrib/cats/cdroms/installcd/Makefile: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.130
sys/arch/amd64/conf/GENERIC: revision 1.131
distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/Makefile: revision 1.1
distrib/cats/cdroms/Makefile: revision 1.1
distrib/evbmips/Makefile: revision 1.3
distrib/evbmips/Makefile: revision 1.4
sys/arch/amd64/conf/GENERIC_ACPI: file removal
distrib/ews4800mips/Makefile: revision 1.2
distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/Makefile: revision 1.5
distrib/amd64/cdroms/installcd/Makefile: revision 1.2
distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/cdroms/installcd/Makefile: revision 1.1
etc/etc.amd64/Makefile.inc: revision 1.7
distrib/i386/instkernel/Makefile: revision 1.6
distrib/x68k/cdroms/Makefile: revision 1.1
distrib/i386/cdroms/Makefile.cdrom: revision 1.1
distrib/sandpoint/Makefile: revision 1.4
distrib/i386/cdroms/Makefile.cdrom: revision 1.2
distrib/amiga/Makefile: revision 1.3
distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
distrib/news68k/Makefile: revision 1.4
distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
distrib/news68k/cdroms/Makefile: revision 1.1
distrib/sparc/cdroms/Makefile: revision 1.1
distrib/shark/cdroms/Makefile: revision 1.1
etc/Makefile: revision 1.341
distrib/amd64/instkernel/Makefile: revision 1.2
distrib/sparc64/Makefile: revision 1.7
distrib/dreamcast/cdroms/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.3
distrib/ews4800mips/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/installcd/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.4
distrib/macppc/cdroms/Makefile: revision 1.1
distrib/mvme68k/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/Makefile: revision 1.1
distrib/hpcarm/Makefile: revision 1.3
distrib/arc/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
distrib/mipsco/cdroms/Makefile: revision 1.1
distrib/Makefile.inc: revision 1.9
distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/Makefile: revision 1.1
distrib/arc/Makefile: revision 1.3
distrib/sparc/cdroms/installcd/Makefile: revision 1.1
distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
distrib/prep/Makefile: revision 1.3
distrib/ibmnws/cdroms/Makefile: revision 1.1
distrib/sandpoint/cdroms/Makefile: revision 1.1
distrib/atari/Makefile: revision 1.6
distrib/sgimips/cdroms/Makefile: revision 1.1
distrib/amd64/Makefile: revision 1.4
distrib/atari/cdroms/Makefile: revision 1.1
distrib/x68k/Makefile: revision 1.5
distrib/x68k/Makefile: revision 1.6
distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
distrib/evbarm/cdroms/Makefile: revision 1.1
distrib/acorn32/cdroms/Makefile: revision 1.1
distrib/cats/Makefile: revision 1.3
distrib/evbmips/cdroms/Makefile: revision 1.1
distrib/pc532/cdroms/Makefile: revision 1.1
distrib/Makefile: revision 1.14
distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
distrib/ofppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile: revision 1.3
distrib/common/Makefile.bootcd: revision 1.8
distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
sys/arch/i386/conf/GENERIC: revision 1.813
distrib/hp300/Makefile: revision 1.17
sys/arch/i386/conf/GENERIC: revision 1.814
distrib/evbppc/Makefile: revision 1.2
distrib/pmax/cdroms/installcd/Makefile: revision 1.1
etc/etc.i386/Makefile.inc: revision 1.49
distrib/sgimips/Makefile: revision 1.2
distrib/prep/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/Makefile: revision 1.4
distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/Makefile: revision 1.22
distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
 1.1.2.1 06-Mar-2007  riz file Makefile was added on branch netbsd-4 on 2007-03-09 06:59:35 +0000
 1.4 23-Sep-2019  christos Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
 1.3 28-Sep-2018  martin Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
 1.2 15-Jan-2012  jmcneill branches: 1.2.40; 1.2.42;
use ${CDIMAGE} instead of ${CDBASE}.iso
 1.1 06-Mar-2007  bouyer branches: 1.1.2; 1.1.14; 1.1.22; 1.1.30; 1.1.38; 1.1.40;
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
 1.1.40.1 08-Nov-2014  msaitoh Pullup follwing revisions to fix build break of ticket 1931 on some archs.

distrib/alpha/cdroms/installcd/Makefile 1.2
distrib/pmax/cdroms/installcd/Makefile 1.2
distrib/prep/cdroms/installcd/Makefile 1.3
distrib/sgimips/cdroms/installcd/Makefile 1.2
distrib/sparc/cdroms/installcd/Makefile 1.2
distrib/sparc64/cdroms/installcd/Makefile 1.14
distrib/sun3/cdroms/installcd/Makefile 1.2
distrib/vax/cdroms/installcd/Makefile 1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
 1.1.38.1 17-Apr-2012  yamt sync with head
 1.1.30.1 08-Nov-2014  msaitoh Pullup follwing revisions to fix build break of ticket 1931 on some archs:

distrib/alpha/cdroms/installcd/Makefile 1.2
distrib/pmax/cdroms/installcd/Makefile 1.2
distrib/prep/cdroms/installcd/Makefile 1.3
distrib/sgimips/cdroms/installcd/Makefile 1.2
distrib/sparc/cdroms/installcd/Makefile 1.2
distrib/sparc64/cdroms/installcd/Makefile 1.14
distrib/sun3/cdroms/installcd/Makefile 1.2
distrib/vax/cdroms/installcd/Makefile 1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
 1.1.22.1 08-Nov-2014  msaitoh Pullup follwoing revisons to fix build break of ticket 1931 on some archs:

distrib/alpha/cdroms/installcd/Makefile 1.2
distrib/pmax/cdroms/installcd/Makefile 1.2
distrib/prep/cdroms/installcd/Makefile 1.3
distrib/sgimips/cdroms/installcd/Makefile 1.2
distrib/sparc/cdroms/installcd/Makefile 1.2
distrib/sparc64/cdroms/installcd/Makefile 1.14
distrib/sun3/cdroms/installcd/Makefile 1.2
distrib/vax/cdroms/installcd/Makefile 1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
 1.1.14.1 05-Oct-2008  mjf Sync with HEAD.
 1.1.2.2 09-Mar-2007  riz Pull up following revision(s) (requested by bouyer in ticket #494):
sys/arch/i386/conf/GENERIC.MP: revision 1.9
distrib/pc532/cdroms/installcd/Makefile: revision 1.1
distrib/macppc/Makefile: revision 1.15
distrib/ofppc/Makefile: revision 1.2
distrib/ibmnws/Makefile: revision 1.2
distrib/acorn32/Makefile: revision 1.18
distrib/x68k/cdroms/installcd/Makefile: revision 1.1
distrib/sparc/Makefile: revision 1.7
distrib/sparc64/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/Makefile: revision 1.1
distrib/hpcsh/Makefile: revision 1.6
distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/Makefile: revision 1.13
distrib/news68k/cdroms/installcd/Makefile: revision 1.1
distrib/amiga/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/cdroms/Makefile: revision 1.1
distrib/amiga/cdroms/Makefile: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.18
distrib/shark/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/Makefile: revision 1.28
distrib/hpcmips/cdroms/Makefile: revision 1.1
distrib/amd64/floppies/Makefile: revision 1.3
sys/arch/amd64/conf/INSTALL_ACPI: file removal
distrib/i386/cdroms/Makefile: revision 1.4
distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
distrib/hpcsh/cdroms/Makefile: revision 1.1
distrib/prep/cdroms/Makefile: revision 1.1
distrib/pc532/Makefile: revision 1.4
distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
distrib/sun2/Makefile: revision 1.8
distrib/vax/Makefile: revision 1.17
distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/cdroms/Makefile: revision 1.1
distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
distrib/sun3/cdroms/installcd/Makefile: revision 1.1
distrib/vax/cdroms/installcd/Makefile: revision 1.1
distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
distrib/mvme68k/Makefile: revision 1.4
distrib/mvmeppc/cdroms/Makefile: revision 1.1
distrib/newsmips/Makefile: revision 1.4
sys/arch/i386/conf/GENERIC.MPACPI: file removal
distrib/hpcarm/cdroms/Makefile: revision 1.1
distrib/evbppc/cdroms/Makefile: revision 1.1
sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
distrib/i386/cdroms/installcd/Makefile: revision 1.2
distrib/i386/cdroms/installcd/Makefile: revision 1.3
doc/CHANGES: revision 1.804
distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.2
distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.3
distrib/evbarm/Makefile: revision 1.8
distrib/mvmeppc/Makefile: revision 1.3
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
distrib/macppc/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/cdroms/Makefile: revision 1.1
distrib/alpha/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/installcd/Makefile: revision 1.1
distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/Makefile: revision 1.2
distrib/pmppc/Makefile: revision 1.2
distrib/arc/cdroms/Makefile: revision 1.1
sys/arch/amd64/conf/INSTALL: revision 1.66
distrib/sun3/cdroms/Makefile: revision 1.1
distrib/mipsco/Makefile: revision 1.4
distrib/sun3/Makefile: revision 1.9
distrib/vax/cdroms/Makefile: revision 1.1
distrib/pmppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
distrib/atari/cdroms/installcd/Makefile: revision 1.1
distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/Makefile: revision 1.4
Makefile: revision 1.247
distrib/cats/cdroms/installcd/Makefile: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.130
sys/arch/amd64/conf/GENERIC: revision 1.131
distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/Makefile: revision 1.1
distrib/cats/cdroms/Makefile: revision 1.1
distrib/evbmips/Makefile: revision 1.3
distrib/evbmips/Makefile: revision 1.4
sys/arch/amd64/conf/GENERIC_ACPI: file removal
distrib/ews4800mips/Makefile: revision 1.2
distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/Makefile: revision 1.5
distrib/amd64/cdroms/installcd/Makefile: revision 1.2
distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/cdroms/installcd/Makefile: revision 1.1
etc/etc.amd64/Makefile.inc: revision 1.7
distrib/i386/instkernel/Makefile: revision 1.6
distrib/x68k/cdroms/Makefile: revision 1.1
distrib/i386/cdroms/Makefile.cdrom: revision 1.1
distrib/sandpoint/Makefile: revision 1.4
distrib/i386/cdroms/Makefile.cdrom: revision 1.2
distrib/amiga/Makefile: revision 1.3
distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
distrib/news68k/Makefile: revision 1.4
distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
distrib/news68k/cdroms/Makefile: revision 1.1
distrib/sparc/cdroms/Makefile: revision 1.1
distrib/shark/cdroms/Makefile: revision 1.1
etc/Makefile: revision 1.341
distrib/amd64/instkernel/Makefile: revision 1.2
distrib/sparc64/Makefile: revision 1.7
distrib/dreamcast/cdroms/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.3
distrib/ews4800mips/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/installcd/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.4
distrib/macppc/cdroms/Makefile: revision 1.1
distrib/mvme68k/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/Makefile: revision 1.1
distrib/hpcarm/Makefile: revision 1.3
distrib/arc/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
distrib/mipsco/cdroms/Makefile: revision 1.1
distrib/Makefile.inc: revision 1.9
distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/Makefile: revision 1.1
distrib/arc/Makefile: revision 1.3
distrib/sparc/cdroms/installcd/Makefile: revision 1.1
distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
distrib/prep/Makefile: revision 1.3
distrib/ibmnws/cdroms/Makefile: revision 1.1
distrib/sandpoint/cdroms/Makefile: revision 1.1
distrib/atari/Makefile: revision 1.6
distrib/sgimips/cdroms/Makefile: revision 1.1
distrib/amd64/Makefile: revision 1.4
distrib/atari/cdroms/Makefile: revision 1.1
distrib/x68k/Makefile: revision 1.5
distrib/x68k/Makefile: revision 1.6
distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
distrib/evbarm/cdroms/Makefile: revision 1.1
distrib/acorn32/cdroms/Makefile: revision 1.1
distrib/cats/Makefile: revision 1.3
distrib/evbmips/cdroms/Makefile: revision 1.1
distrib/pc532/cdroms/Makefile: revision 1.1
distrib/Makefile: revision 1.14
distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
distrib/ofppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile: revision 1.3
distrib/common/Makefile.bootcd: revision 1.8
distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
sys/arch/i386/conf/GENERIC: revision 1.813
distrib/hp300/Makefile: revision 1.17
sys/arch/i386/conf/GENERIC: revision 1.814
distrib/evbppc/Makefile: revision 1.2
distrib/pmax/cdroms/installcd/Makefile: revision 1.1
etc/etc.i386/Makefile.inc: revision 1.49
distrib/sgimips/Makefile: revision 1.2
distrib/prep/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/Makefile: revision 1.4
distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/Makefile: revision 1.22
distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
 1.1.2.1 06-Mar-2007  riz file Makefile was added on branch netbsd-4 on 2007-03-09 06:59:28 +0000
 1.2.42.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.42.1 10-Jun-2019  christos Sync with HEAD
 1.2.40.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.1 22-Jan-2012  tsutsui branches: 1.1.4;
Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 22-Jan-2012  yamt file Makefile was added on branch yamt-pagecache on 2012-04-17 00:02:48 +0000
 1.4 15-Dec-2018  gson Use the special device name "ROOT." in /etc/fstab not just on the arm
images, but also on the bootable disk images of other ports, so that
they can be booted from differently named devices. Merge the i386 and
amd64 -live-sd0root and -live-wd0root images into a single live image
per port, bootable both from usb media and in qemu. Drop the -xx0root
suffixes from image names as they are no longer meaningful.
 1.3 03-Nov-2012  tsutsui branches: 1.3.30; 1.3.32;
Allow overriding live-image and install-image sizes by
INSTIMAGEMB (for install-images), USBIMAGEMB (for x86 sd0root liveimages),
and EMUIMAGEMB (for other liveimages) variables.
Per discussion on current-users@:
http://mail-index.NetBSD.org/current-users/2012/10/29/msg021368.html
 1.2 17-Aug-2012  riz branches: 1.2.2;
Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@ back in March, with some adjustments.
 1.1 22-Jan-2012  tsutsui branches: 1.1.2; 1.1.4;
Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
 1.1.4.4 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.3 30-Oct-2012  yamt sync with head
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 22-Jan-2012  yamt file Makefile was added on branch yamt-pagecache on 2012-04-17 00:02:49 +0000
 1.1.2.1 17-Aug-2012  martin Pull up following revision(s) (requested by riz in ticket #506):
distrib/amd64/liveimage/emuimage/Makefile: revision 1.2
distrib/amd64/liveimage/usbimage/Makefile: revision 1.2
distrib/sun2/liveimage/emuimage/Makefile: revision 1.2
distrib/amd64/installimage/Makefile: revision 1.2
distrib/sun3/liveimage/emuimage/Makefile: revision 1.2
distrib/pmax/liveimage/emuimage/Makefile: revision 1.2
distrib/vax/liveimage/emuimage/Makefile: revision 1.2
distrib/sparc64/liveimage/emuimage/Makefile: revision 1.2
distrib/common/Makefile.bootcd: revision 1.20
distrib/i386/liveimage/emuimage/Makefile: revision 1.2
distrib/sparc/liveimage/emuimage/Makefile: revision 1.2
distrib/i386/installimage/Makefile: revision 1.2
distrib/i386/liveimage/usbimage/Makefile: revision 1.2
etc/Makefile: revision 1.398
Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.
XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.
As discussed on current-users@ back in March, with some adjustments.
Install fully-populated .iso images in ${RELEASEDIR}/images instead
of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too.
Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
 1.2.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.32.1 10-Jun-2019  christos Sync with HEAD
 1.3.30.1 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.2 16-Jan-2000  cgd remove .cvsignore files; if the tree doesn't clean completely, that's a bug
 1.1 05-Sep-1996  gwr branches: 1.1.2;
quiet down cvs update
 1.1.2.2 05-Sep-1996  gwr quiet down cvs update
 1.1.2.1 05-Sep-1996  gwr file .cvsignore was added on branch netbsd-1-2 on 1996-09-05 17:11:56 +0000
 1.50 18-Jun-2021  tsutsui Replace RELEASE and VERSION strings proplery.

sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
>> Use proper release version strings ("9.1" rather than "91") in banners.
>>
>> Also define and use "MACHINE" variable to describe port names
>> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.
 1.49 29-Dec-2019  christos 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
and LDSTATIC used to be passed before) instead of appending them
to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
 1.48 27-Oct-2019  christos make this a bit bigger to prepare for gcc-8
 1.47 28-Jul-2019  martin branches: 1.47.2;
Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.
 1.46 24-Jan-2017  christos branches: 1.46.4; 1.46.12;
+= for MAKEFS_FLAGS
 1.45 27-Aug-2014  christos branches: 1.45.2; 1.45.4;
mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.
 1.44 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.43 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.42 24-Sep-2009  he Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!
 1.41 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.40 20-Sep-2009  abs Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
 1.39 25-Jan-2009  abs Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.38 25-Oct-2008  apb Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.37 29-Apr-2008  tsutsui Fix (almost harmless) typo.
 1.36 24-Jun-2007  isaki branches: 1.36.12; 1.36.14;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.
 1.35 03-Mar-2007  apb MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.
 1.34 01-Mar-2007  apb Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.
 1.33 02-Aug-2006  tsutsui Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.
 1.32 10-Jul-2003  lukem Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
 1.31 02-Apr-2003  fvdl Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
 1.30 28-May-2002  nathanw Run installboot on the miniroot image, now that it is tested.
 1.29 18-May-2002  lukem branches: 1.29.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements
 1.28 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.27 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.26 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.25 26-Apr-2002  lukem use gzip -9f
 1.24 18-Apr-2002  bouyer Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.
 1.23 12-Apr-2002  lukem - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
 1.22 06-Mar-2002  lukem replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc
 1.21 09-Nov-2001  tsutsui Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.
 1.20 13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.19 13-Feb-2001  jmc Up the size to 12M. Add an unconfig rule
 1.18 19-Jun-2000  tsutsui branches: 1.18.2;
mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".
 1.17 10-Jun-2000  tsutsui Pass ${DESTDIR} to RunList.sh.
 1.16 09-Jun-2000  tsutsui Use vnd rather than sd1b to make miniroot image.
 1.15 21-May-1999  gwr Add a release target to automate building release snapshots.
 1.14 16-May-1999  gwr updates for the 1.4 release
 1.13 22-Apr-1999  gwr Put -B be in NEWFSARGS
 1.12 04-Mar-1999  wrstuden branches: 1.12.2;
Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
 1.11 05-Sep-1998  lukem distclean is a synonym for cleandir
 1.10 29-May-1998  gwr Use the INSTALL kernels.
 1.9 17-Mar-1998  gwr Add target all
 1.8 12-Feb-1998  gwr Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines. (The boot program will
load the appropriate one).
 1.7 12-Dec-1997  gwr Ready for 1.3_BETA
 1.6 12-Dec-1997  gwr Ready for 1.3_BETA
 1.5 12-Dec-1997  gwr Use /dev/sd1b for now
 1.4 09-Oct-1996  jtc branches: 1.4.2;
merge in 1.2 branch
 1.3 21-Nov-1995  gwr branches: 1.3.2; 1.3.6;
Ready for release
 1.2 13-Oct-1995  gwr branches: 1.2.2;
Minor cleanup
 1.1 08-Oct-1995  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 08-Oct-1995  gwr branches: 1.1.1.1.2;
Support for making sun3 installation media.
 1.1.1.1.2.1 12-Oct-1995  gwr Minor cleanup.
 1.2.2.1 21-Nov-1995  gwr From HEAD: Ready for release
 1.3.6.1 29-Aug-1996  gwr Build the edited "install.sub" here.
 1.3.2.2 21-Nov-1995  gwr Ready for release
 1.3.2.1 21-Nov-1995  gwr file Makefile was added on branch netbsd-1-1 on 1995-11-21 21:19:13 +0000
 1.4.2.2 29-May-1998  mycroft Pull up patch from gwr.
 1.4.2.1 12-Dec-1997  gwr Ready for 1.3_BETA
 1.12.2.3 23-Jul-2000  he Pull up revision 1.18 (requested by nathanw):
Fixes to release building machinery:
o make installation/miniroot directory
 1.12.2.2 01-Mar-2000  he Apply patch (requested by toddpw):
Convert sun3 miniroot/ramdisk build process to use vnd devices
instead of requiring a scratch partition on some local disk. Also
remove dependency on /etc/disktab entry. Support recursive
``depend'' makes (do nothing though).
 1.12.2.1 21-Jun-1999  perry pullup 1.12->1.15 (gwr)
 1.18.2.1 21-Apr-2001  he Pull up revision 1.19 (requested by he):
Bump the sun3 miniroot size from 10M to 12M, and add an
``unconfig'' rule.
 1.29.2.1 28-May-2002  tv Pull up revision 1.30 (requested by nathanw in ticket #51):
Run installboot on the miniroot image, now that it is tested.
 1.36.14.1 18-May-2008  yamt sync with head.
 1.36.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.36.12.1 02-Jun-2008  mjf Sync with HEAD.
 1.45.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.45.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.46.12.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.46.12.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.46.4.1 25-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1686):

distrib/sun3/miniroot/Makefile: revision 1.50
distrib/miniroot/install.sub: revision 1.61
distrib/miniroot/install.sub: revision 1.62 (patch)
distrib/sun2/miniroot/Makefile: revision 1.40

Replace RELEASE and VERSION strings proplery.
sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.

http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
> Use proper release version strings ("9.1" rather than "91") in banners.
>
> Also define and use "MACHINE" variable to describe port names
> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.

Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.
 1.47.2.1 25-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1310):

distrib/sun3/miniroot/Makefile: revision 1.50
distrib/miniroot/install.sub: revision 1.61
distrib/miniroot/install.sub: revision 1.62
distrib/sun2/miniroot/Makefile: revision 1.40

Replace RELEASE and VERSION strings proplery.
sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.

http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
> Use proper release version strings ("9.1" rather than "91") in banners.
>
> Also define and use "MACHINE" variable to describe port names
> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.

Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.
 1.2 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1 13-Feb-2001  jmc branches: 1.1.2;
Need larger image. Add a new disktab layout for 12M
 1.1.2.2 21-Apr-2001  he Pull up revision 1.1 (new, requested by he):
Add a local disktab file where the miniroot size has been
bumped to 12M.
 1.1.2.1 13-Feb-2001  he file disktab was added on branch netbsd-1-5 on 2001-04-21 18:36:34 +0000
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.9 26-Jun-2021  tsutsui Check if /tmp is writable to see whether the rootdev is already mounted.

Creating a dummy /tmp/root_writable file and after mountroot and
checking it on the second installation could be problematic if
users retry to installation after reboot without reinstalling miniroot.
Taken from amiga.
 1.8 26-Jun-2021  tsutsui Don't try to add swap on miniroot.
 1.7 05-Dec-2020  tsutsui Use proper release version strings ("9.1" rather than "91") in banners.

Also define and use "MACHINE" variable to describe port names
(no uname(1) or sysctl(8) in miniroot binary list by default).

I guess the short format like "91" by ${DISTRIBREV} was used only
for split sets for floppies in 1990's releases.

Worth to pullup to netbsd-9.
 1.6 05-Dec-2020  tsutsui The kernel and X sets should be specified in MD miniroot scripts.

Otherwise they are not listed at least on ftp installation.
The problem was reported by Martin Trusler on port-hp300@:
https://mail-index.netbsd.org/port-hp300/2020/11/21/msg000174.html

Should be pulled up to netbsd-9 and netbsd-8.
 1.5 10-Apr-2019  christos branches: 1.5.2;
adjust miniroot scripts to deal with the time prefix in dmesg
 1.4 04-Apr-2019  christos modernize, and avoid -a -o
 1.3 30-Apr-2008  martin branches: 1.3.56; 1.3.64;
Convert TNF licenses to new 2 clause variant
 1.2 25-Jun-2006  tsutsui branches: 1.2.20; 1.2.22;
After extracting sets, copy miniroot kernel only if there is
no extracted kernel in the target disk.
 1.1 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.2.22.1 18-May-2008  yamt sync with head.
 1.2.20.2 05-Oct-2008  mjf Sync with HEAD.
 1.2.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.64.1 10-Jun-2019  christos Sync with HEAD
 1.3.56.1 19-Dec-2020  martin Pull up following revision(s) (requested by tsutsui in ticket #1639):

distrib/miniroot/install.sub: revision 1.54 (patch)
distrib/miniroot/install.sub: revision 1.56 (patch)
distrib/miniroot/install.sub: revision 1.57 (patch)
distrib/miniroot/install.sub: revision 1.58 (patch)
distrib/miniroot/install.sub: revision 1.59 (patch)
distrib/hp300/miniroot/install.md: revision 1.20
distrib/miniroot/list: revision 1.36
distrib/mvme68k/miniroot/install.md: revision 1.9
distrib/mvme68k/miniroot/install.md: revision 1.10
distrib/sun3/miniroot/install.md: revision 1.6
distrib/miniroot/install.sub: revision 1.47 (patch)
distrib/sun3/miniroot/install.md: revision 1.7
distrib/sun2/miniroot/install.md: revision 1.6
distrib/sun2/miniroot/install.md: revision 1.7
distrib/amiga/miniroot/install.md: revision 1.31
distrib/mac68k/miniroot/install.md: revision 1.6
distrib/mac68k/miniroot/install.md: revision 1.7
distrib/mac68k/miniroot/install.md: revision 1.8
distrib/miniroot/upgrade.sh: revision 1.23
distrib/miniroot/install.sh: revision 1.26
distrib/miniroot/upgrade.sh: revision 1.24
distrib/miniroot/install.sh: revision 1.27
distrib/hp300/miniroot/install.md: revision 1.18
distrib/hp300/miniroot/install.md: revision 1.19
distrib/miniroot/install.sub: revision 1.50 (patch)
distrib/miniroot/install.sub: revision 1.51 (patch)
distrib/miniroot/install.sub: revision 1.52 (patch)
distrib/miniroot/install.sub: revision 1.53 (patch)

Remove uses of test ... -a ... and test ... -o ...
eXorcize and `` -> $()
Fix miniroot installation failure on network configuration. PR/54833
No particular comment in the PR.
Should be pulled up to netbsd-9.
Fix "[: SMALL test, no fallback usage" error on miniroot installation.
Avoid and replace use of '-a', '(' and ')' operatos marked obsolescent
by modern POSIX.1-2017:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
as suggested by kre@ in PR/54835.
Should be pulled up to netbsd-9.
The idiom
set $whatever
while [ $# - gt 10 ]; do shift 10; done
eval echo \$$#
fails when $# turns out to be 10 (or any multiple), it would need
to be instead
while [ $# -ge 10 ]; do shift 9; done
but there hasn't been a shell that cannot handle ${10} (etc) correctly
in a very long time, so let's just use that instead (properly quoted,
in case IFS happens to contain a digit for some bizarre reason).
We should also "set -f" / "set +f" (or better, restore the prev setting of -f)
around the "set $whatever" part, but if that was ever going to cause a problem
here, it would have already, so leave that for now.
test ! -n "$foo" is just a quaint way of saying test -z "$foo"
and test ! -z "$foo" is really just test -n "$foo" so let's just
use the simple (and more obvious) forms.
NFCI.
The kernel and X sets should be specified in MD miniroot scripts.
Otherwise they are not listed at least on ftp installation.
The problem was reported by Martin Trusler on port-hp300@:
https://mail-index.netbsd.org/port-hp300/2020/11/21/msg000174.html
Should be pulled up to netbsd-9 and netbsd-8.
Add modules set for default sets on miniroot installation.
Should be pulled up to netbsd-9 and netbsd-8.
Add missing md_get_partition_range() that causes installation failure.
Also reported by Martin Trusler on testing hp300 miniroot.
Should be pulled up to netbsd-9 and netbsd-8.
Explicitly sort set names fetched via ftp nlist.
Several binary sets are stored as symbolic links on releases and
it seems some ftpd doesn't sort nlist outputs by name in such case.
Worth to pullup to netbsd-9 and netbsd-8.
Use proper release version strings ("9.1" rather than "91") in banners.
Also define and use "MACHINE" variable to describe port names
(no uname(1) or sysctl(8) in miniroot binary list by default).
I guess the short format like "91" by ${DISTRIBREV} was used only
for split sets for floppies in 1990's releases.
Worth to pullup to netbsd-9.
Inform the default installation directory in the official ftp server.
Fetch files via ftp using auto-fetching with URL per each binary set.
On slower machines, it takes more than five minutes to get a large
set binary and it could cause timeout of ftp control session, so
getting multiple binary sets in a single ftp session always fails.
Briefly tested on HP 9000/425e with 9.1 tree and ftp.netbsd.org binaries.
No particular comments on tech-install@ and port-hp300@.
Maybe should be pulled up to netbsd-9.
 1.5.2.2 15-Aug-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1335):

distrib/sun3/miniroot/install.md: revision 1.8
distrib/sun3/miniroot/install.md: revision 1.9
distrib/sun2/miniroot/install.md: revision 1.8
distrib/sun2/miniroot/install.md: revision 1.9

Don't try to add swap on miniroot.

Check if /tmp is writable to see whether the rootdev is already mounted.

Creating a dummy /tmp/root_writable file and after mountroot and
checking it on the second installation could be problematic if
users retry to installation after reboot without reinstalling miniroot.

Taken from amiga.
 1.5.2.1 14-Dec-2020  martin Pull up following revision(s) (requested by tsutsui in ticket #1151):

distrib/miniroot/install.sub: revision 1.54
distrib/miniroot/install.sub: revision 1.55
distrib/miniroot/install.sub: revision 1.56
distrib/miniroot/install.sub: revision 1.57
distrib/miniroot/install.sub: revision 1.58
distrib/miniroot/install.sub: revision 1.59
distrib/hp300/miniroot/install.md: revision 1.20
distrib/miniroot/list: revision 1.36
distrib/mvme68k/miniroot/install.md: revision 1.9
distrib/mvme68k/miniroot/install.md: revision 1.10
distrib/sun3/miniroot/install.md: revision 1.6
distrib/sun3/miniroot/install.md: revision 1.7
distrib/sun2/miniroot/install.md: revision 1.6
distrib/sun2/miniroot/install.md: revision 1.7
distrib/amiga/miniroot/install.md: revision 1.31
distrib/mac68k/miniroot/install.md: revision 1.6
distrib/mac68k/miniroot/install.md: revision 1.7
distrib/mac68k/miniroot/install.md: revision 1.8
distrib/hp300/miniroot/install.md: revision 1.18
distrib/hp300/miniroot/install.md: revision 1.19
distrib/miniroot/install.sub: revision 1.53

test ! -n "$foo" is just a quaint way of saying test -z "$foo"
and test ! -z "$foo" is really just test -n "$foo" so let's just
use the simple (and more obvious) forms.

NFCI.

-

Add modules set for default sets on miniroot installation.
Should be pulled up to netbsd-9 and netbsd-8.

-

The kernel and X sets should be specified in MD miniroot scripts.

Otherwise they are not listed at least on ftp installation.

The problem was reported by Martin Trusler on port-hp300@:
https://mail-index.netbsd.org/port-hp300/2020/11/21/msg000174.html

Should be pulled up to netbsd-9 and netbsd-8.

-

Appease awk warnings on suppressing dmesg timestamps.
awk: warning: escape sequence `\[' treated as plain `['
source line number 1
context is
{ h=$0; >>> gsub("^[ <<<
awk: warning: escape sequence `\]' treated as plain `]'
source line number 1

Should be pulled up to netbsd-9.

-

Explicitly sort set names fetched via ftp nlist.

Several binary sets are stored as symbolic links on releases and
it seems some ftpd doesn't sort nlist outputs by name in such case.

Worth to pullup to netbsd-9 and netbsd-8.

-

Use proper release version strings ("9.1" rather than "91") in banners.

Also define and use "MACHINE" variable to describe port names
(no uname(1) or sysctl(8) in miniroot binary list by default).

I guess the short format like "91" by ${DISTRIBREV} was used only
for split sets for floppies in 1990's releases.

Worth to pullup to netbsd-9.

-

Inform the default installation directory in the official ftp server.

-

Fetch files via ftp using auto-fetching with URL per each binary set.

On slower machines, it takes more than five minutes to get a large
set binary and it could cause timeout of ftp control session, so
getting multiple binary sets in a single ftp session always fails.

Briefly tested on HP 9000/425e with 9.1 tree and ftp.netbsd.org binaries.

No particular comments on tech-install@ and port-hp300@.

Maybe should be pulled up to netbsd-9.

-

Add missing md_get_partition_range() that causes installation failure.

Also reported by Martin Trusler on testing hp300 miniroot.

Should be pulled up to netbsd-9 and netbsd-8.
 1.32 27-Jun-2021  tsutsui Use more SMALL binaries and reduce diffs between sun2 and sun3.
 1.31 05-Apr-2020  martin Adapt to libterminfo as part of libhack-curses
 1.30 28-Jul-2019  martin Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.
 1.29 30-Nov-2013  nakayama branches: 1.29.26;
nvi has moved.
 1.28 03-Jul-2011  tron branches: 1.28.2; 1.28.8;
Update location of "less" source directory to the build of various
install medias.
 1.27 19-Jun-2011  tsutsui Use src/distrib/utils/x_gzip in all install ramdisks/miniroots for now
since installation file systems might be flooded by -llzma.
 1.26 14-Jan-2011  tsutsui branches: 1.26.4;
Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
usr/bin/chgrp -> bin/chgrp
 1.25 10-Mar-2010  abs Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
 1.24 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.23 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.22 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.21 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.20 20-Sep-2009  abs Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
 1.19 18-Sep-2009  abs Of the arious list files 28 said
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
while 14 picked
PROG usr/bin/gzip usr/bin/gunzip usr/bin/gzcat

Make them all choose the former. No functional change.
 1.18 25-Jan-2009  abs Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.17 30-Oct-2008  tsutsui usr.bin/vi/build -> usr.bin/nvi/build
 1.16 06-May-2008  dyoung Add -lprop to the LIBS line so that ifconfig will link.
 1.15 16-May-2007  tsutsui branches: 1.15.12; 1.15.14;
Use src/distrib/common/services.
 1.14 03-Mar-2007  apb MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.
 1.13 01-Mar-2007  apb Treate MAKEDEV.subr just as we treat MAKEDEV when creating ramdisk
images or miniroot images.
 1.12 02-Aug-2006  tsutsui Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.
 1.11 24-Jun-2006  tsutsui Bump libz major.
 1.10 03-Jul-2004  chs more shlib updates.
 1.9 03-Jul-2004  chs add a missing symlink as well.
 1.8 27-Jun-2004  chs update shlibs. fixes PR 25970.
 1.7 28-Oct-2002  nathanw branches: 1.7.2;
Adapt miniroot list to libraries in /lib.
 1.6 15-Oct-2002  jdolecek ld.elf_so is now in /libexec, so update the list here
XXX not tested
 1.5 09-Jun-2002  bouyer ld.elf_so also needs to be executable.
 1.4 05-Jun-2002  lukem As parselist.awk now sets COPY-ied files explicitly to 444, ensure
executable files are 555.
 1.3 22-May-2002  nathanw We're up to libcurses 5 these days.
 1.2 18-May-2002  lukem branches: 1.2.2;
fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
to sharing sun68k/stand)
- need full paths in list ${COPY} statements
 1.1 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.2.2.3 11-Feb-2003  jmc Pullup rev 1.3 (requested by bouyer in ticket #1161)
Using libcurses 5 now so make sure it's included. PR#20288
 1.2.2.2 10-Jun-2002  tv Pull up revision 1.5 (requested by bouyer in ticket #222):
ld.elf_so also needs to be executable.
 1.2.2.1 05-Jun-2002  lukem Pull up revision 1.4 (requested by lukem in ticket #175):
As parselist.awk now sets COPY-ied files explicitly to 444, ensure
executable files are 555.
 1.7.2.3 04-Jul-2004  he Pull up revision 1.10 (requested by chs in ticket #584):
Add more missing shared libraries.
 1.7.2.2 04-Jul-2004  he Pull up revision 1.9 (requested by chs in ticket #584):
Add a missing symlink.
 1.7.2.1 27-Jun-2004  he Pull up revision 1.8 (requested by chs in ticket #560):
Update shared libraries. Fixes PR#25970.
 1.15.14.1 18-May-2008  yamt sync with head.
 1.15.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.15.12.1 02-Jun-2008  mjf Sync with HEAD.
 1.26.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.28.8.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.29.26.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 26-Jul-2003  salo branches: 1.2.32;
netbsd.org->NetBSD.org
 1.1 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.2.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 16-Jan-2000  cgd remove .cvsignore files; if the tree doesn't clean completely, that's a bug
 1.1 05-Sep-1996  gwr branches: 1.1.2;
quiet down cvs update
 1.1.2.2 05-Sep-1996  gwr quiet down cvs update
 1.1.2.1 05-Sep-1996  gwr file .cvsignore was added on branch netbsd-1-2 on 1996-09-05 17:11:59 +0000
 1.2 13-Oct-1995  gwr branches: 1.2.2; 1.2.50;
Minor cleanup
 1.1 08-Oct-1995  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 08-Oct-1995  gwr Support for making sun3 installation media.
 1.2.50.1 05-Oct-2008  mjf Sync with HEAD.
 1.2.2.2 13-Oct-1995  gwr Minor cleanup
 1.2.2.1 13-Oct-1995  gwr file Findrefs was added on branch netbsd-1-1 on 1995-10-13 16:51:29 +0000
 1.42 17-May-2024  christos Add /dev/pipe to the spec list using IMAGESPECEXTRA
 1.41 07-Feb-2019  mrg bump ramdisk sizes to cope with GCC 7 bloat.
 1.40 24-Jan-2017  christos branches: 1.40.12;
+= for MAKEFS_FLAGS
 1.39 27-Aug-2014  christos branches: 1.39.2; 1.39.4;
mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.
 1.38 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.37 20-Sep-2009  abs Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
 1.36 16-May-2008  he Bump ramdisk size from 500k to 600k to compensate for recent bloat,
probably caused by ifconfig now needing proplib.
 1.35 24-Jun-2007  isaki branches: 1.35.12; 1.35.14; 1.35.16;
Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.
 1.34 02-Nov-2003  chs commands have grown, make the ramdisk bigger.
 1.33 26-Oct-2003  mycroft Carefully tweak some makefs parameters so this builds.
XXX This is very fragile and has absolutely no slop space right now.
 1.32 26-Oct-2003  mycroft MAKEDEV no longer supports __ramdisk. However, now we have too many device
nodes and the ramdisk overflows.
 1.31 02-Apr-2003  fvdl Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
 1.30 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.29 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.28 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.27 18-Apr-2002  bouyer Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.
 1.26 06-Apr-2002  tsutsui Set DBG=-Os for libhack.
 1.25 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.24 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.23 06-Mar-2002  lukem replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc
 1.22 23-Feb-2002  chs make this work in the new build system.
 1.21 09-Nov-2001  tsutsui Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.
 1.20 21-Oct-2001  jmc Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
 1.19 13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.18 04-Oct-2001  chs reduce ramdisk size back to what it was before.
everything fits since tsutsui fixed libhack.
 1.17 30-Jul-2001  chs increase the memory disk size, it needs to be bigger with ELF.
 1.16 19-May-2001  chs include bsd.sys.mk for DESTDIR builds.
 1.15 13-Feb-2001  jmc Add an unconfig rule
 1.14 19-Jun-2000  tsutsui Rename netbsd-RAMDISK{,3X}.gz -> netbsd.RAMDISK{,3X}.gz for consistency.
etc/Makefile uses ${KERNEL}.${CONFIGFILE}.gz.
 1.13 10-Jun-2000  tsutsui - Pass ${DESTDIR} to RunList.sh.
- Remove *.cro and *.c on make clean.
 1.12 09-Jun-2000  tsutsui - Use vnd instead of sd1b to build ramdisk image.
- Adjust ramdisk size.
- Switch to MI mdsetimage(8) from home-grown rdsetroot.
 1.11 21-May-1999  gwr Add a release target to automate building release snapshots.
 1.10 18-May-1999  gwr Increase ramdisk size
 1.9 16-May-1999  gwr updates for the 1.4 release
 1.8 22-Apr-1999  gwr Put -B be in NEWFSARGS
 1.7 04-Mar-1999  wrstuden branches: 1.7.2;
Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
 1.6 05-Sep-1998  lukem distclean is a synonym for cleandir
 1.5 12-Feb-1998  gwr Build two ramdisk kernels: netbsd-rd.sun3 and netbsd-rd.sun3x
(one for each machine architecture)
 1.4 12-Dec-1997  gwr Do the dd with a larger block size.
Use /dev/sd1b as the tmp space.
 1.3 21-Nov-1995  gwr branches: 1.3.2; 1.3.4;
Ready for release
 1.2 13-Oct-1995  gwr branches: 1.2.2;
Minor cleanup
 1.1 08-Oct-1995  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 08-Oct-1995  gwr branches: 1.1.1.1.2;
Support for making sun3 installation media.
 1.1.1.1.2.1 12-Oct-1995  gwr Minor cleanup.
 1.2.2.1 21-Nov-1995  gwr From HEAD: Ready for release
 1.3.4.2 29-May-1998  mycroft Pull up patch from gwr.
 1.3.4.1 12-Dec-1997  gwr Ready for 1.3_BETA
 1.3.2.2 21-Nov-1995  gwr Ready for release
 1.3.2.1 21-Nov-1995  gwr file Makefile was added on branch netbsd-1-1 on 1995-11-21 21:19:15 +0000
 1.7.2.2 01-Mar-2000  he Apply patch (requested by toddpw):
Convert sun3 miniroot/ramdisk build process to use vnd devices
instead of requiring a scratch partition on some local disk. Also
remove dependency on /etc/disktab entry. Support recursive
``depend'' makes (do nothing though).
 1.7.2.1 21-Jun-1999  perry pullup 1.7->1.11 (gwr)
 1.35.16.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.35.14.1 18-May-2008  yamt sync with head.
 1.35.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.35.12.1 02-Jun-2008  mjf Sync with HEAD.
 1.39.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.39.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.40.12.1 10-Jun-2019  christos Sync with HEAD
 1.3 09-Oct-1996  jtc branches: 1.3.46;
merge in 1.2 branch
 1.2 13-Oct-1995  gwr branches: 1.2.2; 1.2.6;
Minor cleanup
 1.1 08-Oct-1995  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 08-Oct-1995  gwr Support for making sun3 installation media.
 1.2.6.1 13-Sep-1996  gwr Faster, less garbage...
 1.2.2.2 13-Oct-1995  gwr Minor cleanup
 1.2.2.1 13-Oct-1995  gwr file Showsyms was added on branch netbsd-1-1 on 1995-10-13 16:51:32 +0000
 1.3.46.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.7 10-Mar-2010  abs Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
 1.6 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.5 20-Sep-2009  abs Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
 1.4 06-May-2008  dyoung Add -lprop to the LIBS line so that ifconfig will link.
 1.3 18-Oct-2004  he branches: 1.3.26; 1.3.28;
Point to "tls" instead of pretending that it's called "ls".
Fixes build problem after recent change to crunchgen.
Reviewed by chs.
 1.2 19-Jan-2003  tsutsui branches: 1.2.4;
Remove "srcdir distrib/utils/x_mount" from ramdisk lists
since src/sbin/mount/Makefile no longer links fs specific routines.
 1.1 17-May-2002  lukem convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.2.4.1 31-Aug-2005  riz Pull up following revision(s) (requested by riz in ticket #5632):
distrib/sun3/ramdisk/list: revision 1.3
Point to "tls" instead of pretending that it's called "ls".
Fixes build problem after recent change to crunchgen.
Reviewed by chs.
 1.3.28.1 18-May-2008  yamt sync with head.
 1.3.26.2 05-Oct-2008  mjf Sync with HEAD.
 1.3.26.1 02-Jun-2008  mjf Sync with HEAD.
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 20-Sep-2009  abs Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.1 17-May-2002  lukem branches: 1.1.34;
convert to NDWO, a la sun2.

XXX: untested.
also needs sun3 converted to sun68k/stand/bootxx so that
the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2: sun2 & sun3 should share distrib dirs since they're extremely similar...
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.

RSS XML Feed