Home | History | Annotate | only in /src/distrib/sparc64
History log of /src/distrib/sparc64
RevisionDateAuthorComments
 1.9 23-Sep-2025  rillig all: fix "Invalid internal option" warning from make
 1.8 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.7 06-Mar-2007  bouyer branches: 1.7.12; 1.7.36;
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.6 20-May-2002  eeh branches: 1.6.18;
Add bootfs to the build list.
 1.5 08-May-2002  lukem remove comments left over from my NDWO conversion
 1.4 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.3 23-Aug-2001  mrg build an "instfs" which can be untarred for complete netboot installs.
 1.2 07-Jan-2001  mrg s/ramdisk/xminiroot/
 1.1 10-Aug-2000  mrg branches: 1.1.2;
first cut sysinst installer.
 1.1.2.3 03-Feb-2001  he Pull up revision 1.2 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.2 26-Aug-2000  mrg pull up from trunk. approved by thorpej:
>first cut sysinst for sparc64. seems to work OK.
 1.1.2.1 10-Aug-2000  mrg file Makefile was added on branch netbsd-1-5 on 2000-08-26 01:07:05 +0000
 1.6.18.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.7.36.1 17-Apr-2012  yamt sync with head
 1.7.12.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 23-Jul-2001  eeh Add Makefile.inc.
 1.2 10-Aug-2000  mrg remove incomplete miniroot configuration.
 1.1 23-Jan-1999  mrg branches: 1.1.10;
a clone of the SPARC miniroot, adjusted as necessary.. not really tested yet.
 1.1.10.1 26-Aug-2000  mrg pull up from trunk. approved by thorpej:
>remove incomplete miniroot configuration.
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 10-Aug-2000  mrg branches: 1.1.2;
first cut sysinst installer.
 1.1.2.2 26-Aug-2000  mrg pull up from trunk. approved by thorpej:
>first cut sysinst for sparc64. seems to work OK.
 1.1.2.1 10-Aug-2000  mrg file list2sh.awk was added on branch netbsd-1-5 on 2000-08-26 01:07:05 +0000
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 10-Aug-2000  mrg branches: 1.1.2;
first cut sysinst installer.
 1.1.2.2 26-Aug-2000  mrg pull up from trunk. approved by thorpej:
>first cut sysinst for sparc64. seems to work OK.
 1.1.2.1 10-Aug-2000  mrg file runlist.sh was added on branch netbsd-1-5 on 2000-08-26 01:07:05 +0000
 1.9 02-Apr-2010  martin Move install CDs over to / on cd9660 (instead of a memory disk image)
 1.8 12-Mar-2010  martin Provide full terminfo.db on install media
 1.7 02-Mar-2010  mrg bump the size of the boot.fs, we bloated.
 1.6 08-Jun-2006  he branches: 1.6.20;
Bump boot file system size from 4 to 5MB.
 1.5 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.4 07-Mar-2003  lukem fix a bogus comment...
 1.3 18-Nov-2002  lukem Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.2 09-Jun-2002  lukem We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;
add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
 1.1 20-May-2002  eeh branches: 1.1.2;
Add bootfs for cdrom booting.
 1.1.2.1 10-Jun-2002  tv Pull up revision 1.2 (requested by lukem in ticket #220):
We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;
add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
 1.6.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 28-Jun-2014  rtr patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
 1.1 02-Apr-2010  martin branches: 1.1.12; 1.1.24;
Move install CDs over to / on cd9660 (instead of a memory disk image)
 1.1.24.1 10-Aug-2014  tls Rebase.
 1.1.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4 02-Apr-2010  martin Move install CDs over to / on cd9660 (instead of a memory disk image)
 1.3 18-Nov-2002  lukem branches: 1.3.32;
Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.2 09-Jun-2002  lukem We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;
add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
 1.1 20-May-2002  eeh branches: 1.1.2;
Add bootfs for cdrom booting.
 1.1.2.1 10-Jun-2002  tv Pull up revision 1.2 (requested by lukem in ticket #220):
We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;
add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
 1.3.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 24-Apr-2024  nia sparc64 follows x86 and gets an installdvd image with all sets
 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:22 +0000
 1.1 15-May-2024  christos Factor out common stuff.
 1.1 15-May-2024  christos Factor out common stuff.
 1.34 15-May-2024  christos Factor out common stuff.
 1.33 24-Apr-2024  nia Give lots of room for further expansion of the sparc64 CD image
 1.32 23-Apr-2024  nia Exclude compat sets from ISO images that struggle to fit on a CD-ROM

When debug is excluded, also exclude the compat debug sets.
 1.31 23-Sep-2019  christos Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
 1.30 28-Sep-2018  martin Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
 1.29 08-Sep-2017  martin branches: 1.29.2; 1.29.4;
Introduce CDRELEASE_NODEBUG - if set, avoids putting debug sets in the
ISO image.

Set this for sparc64 install CDs - many of the supported machines have
SCSI CD drives and it is impossible to get DVD replacements for those.

This is a pitty, but in the end a working install medium is more worth
than debug sets (which can be downloaded later).
 1.28 10-Feb-2017  christos Initial pass to be unaffected by build umask on build artifacts
1. ${MKDIR} -> ${MKDIR} ${MKDIRPERM}
2. ${CP} -> ${INSTALL} ${COPY} -m <perm>
 1.27 19-Jul-2015  martin branches: 1.27.2; 1.27.4;
Obey MKKMOD=no.
From Rin Okuyama in PR install/50061.
 1.26 28-May-2015  martin Make sure to copy the language catalog files for sysinst, but do not
copy sysinst itself to / on the CD, and instead use the base version
for installation.
 1.25 27-May-2015  martin Do not default any CD_SETS - let the MD makefiles request them specifically.
 1.24 25-May-2015  martin 2nd try: make amd64, i386, sparc64 and vax iso images use full sets.
While there fix an old bug that makefs used the build hosts /etc/group
and passwd information when creating the image.
Thanks to Andreas Gustafsson for extensive testing.
 1.23 19-May-2015  martin Revert previous untill fallout has been fixed.
 1.22 18-May-2015  martin Add a new simple method to put whole sets on CD images (instead of
listing single binaries or patterns) and use those for the existing
ISO images.
 1.21 18-Apr-2015  martin Add libpthread.so* - new lzma needs it.
 1.20 13-Sep-2014  roy Punt custom dhcpcd hooks in favour up upstream hooks
 1.19 14-Aug-2014  riastradh CD images need libarchive if MKBSDTAR is yes.
 1.18 26-Jul-2014  dholland branches: 1.18.2;
Adjust for sysinst move.
 1.17 18-May-2014  martin PR install/48818: put vi on install CDs
 1.16 22-Dec-2012  tsutsui branches: 1.16.8;
Sync with amd64 and i386 installcds:
>> PR/47276: ftp has https support now
(i.e. now libcrypto and libssl are required in non-crunched installcd)
 1.15 03-Jun-2012  joerg branches: 1.15.2;
Switch terminfo(3) to cdb(5).
 1.14 15-Jan-2012  jmcneill branches: 1.14.2;
use ${CDIMAGE} instead of ${CDBASE}.iso
 1.13 22-Jun-2011  martin branches: 1.13.2;
Include liblzma to unbreak gzip on the install CD. (Hi Joerg!)
 1.12 19-Jun-2011  martin Apply Joerg's changes to x86 CDs here alos:
Include libgcc_s.so symlinks in /usr/lib, so that binaries in /usr
linked against it actually work.

We realy should split this into MD and MI lists and share the MI one.
 1.11 17-Apr-2011  martin branches: 1.11.2;
On install CDs: make ^C and ^Z work (mostly) as they used to do on
crunched/ramdisk install media again.
Fixes the remaining parts of PR 44738.
 1.10 20-Mar-2011  martin Add /usr/bin/getopt, it is needed by /usr/mdec/binstall.
Noticed by Jaime Fournier.
 1.9 14-Jan-2011  tsutsui Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
usr/bin/chgrp -> bin/chgrp
 1.8 02-Aug-2010  martin Add /libdata/firmware and /usr/lib/libintl* to install CDROMs with
root on iso9660; fixes PR install/43692 and install/43693.
 1.7 23-Apr-2010  he Um, as has been noted, INSTALL_FILE records what's installed if it's
done unprived, and that doesn't go down well on a re-build. So use
${INSTALL} ${COPY} instead to fix this problem.
 1.6 22-Apr-2010  he Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
target is made un-writeable, the build won't bomb out during an
UPDATE build. OK'ed by martin@.
 1.5 18-Apr-2010  martin Ooops, do not try to create a symlink in a not-yet existing directory
 1.4 18-Apr-2010  martin Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
 1.3 04-Apr-2010  martin Cherry-pick the /libexec content for (non miniroot) CDs and add the sysinst
specific dhcpcd hook scripts
 1.2 02-Apr-2010  martin Move install CDs over to / on cd9660 (instead of a memory disk image)
 1.1 06-Mar-2007  bouyer branches: 1.1.2; 1.1.14; 1.1.22; 1.1.30; 1.1.34;
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.34.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.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:27 +0000
 1.11.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.13.2.3 23-Jan-2013  yamt sync with head
 1.13.2.2 30-Oct-2012  yamt sync with head
 1.13.2.1 17-Apr-2012  yamt sync with head
 1.14.2.2 18-Dec-2013  riz Apply patches to fix pullup #997:

- ftp(1) now supports https, fix rescue and some cdrom sets.
 1.14.2.1 23-Jun-2012  riz Pull up following revision(s) (requested by joerg in ticket #328):
lib/libc/gen/devname.c: revision 1.22
distrib/sparc64/instfs/dot.profile: revision 1.7
distrib/i386/cdroms/install.sh: revision 1.3
tests/lib/libcurses/director/director.c: revision 1.10
lib/libc/include/reentrant.h: revision 1.15
distrib/amd64/cdroms/install.sh: revision 1.3
tests/include/t_paths.c: revision 1.12
share/man/man7/hier.7: revision 1.101
etc/rc.d/sysdb: revision 1.24
include/stdlib.h: revision 1.99
tests/lib/libcurses/Makefile: revision 1.3
distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
distrib/i386/cdroms/Makefile.cdrom: revision 1.27
lib/libc/gen/ttyname.c: revision 1.25
usr.bin/tic/Makefile: revision 1.2
tools/compat/Makefile: revision 1.57
lib/libterminfo/compile.c: revision 1.7
lib/libc/gen/ttyname.c: revision 1.26
lib/libterminfo/compile.c: revision 1.8
tools/compat/Makefile: revision 1.59
tools/compat/cdbw.h: revision 1.1
distrib/i386/installimage/install.sh: revision 1.2
lib/libc/include/namespace.h: revision 1.154
usr.bin/tic/tic.c: revision 1.13
usr.bin/tic/tic.c: revision 1.14
usr.bin/tic/tic.c: revision 1.15
distrib/sets/lists/base/mi: revision 1.996
usr.bin/tic/tic.c: revision 1.16
usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
usr.bin/tic/tic.c: revision 1.17
usr.bin/tic/tic.c: revision 1.18
tools/compat/cdbr.h: revision 1.1
distrib/sparc64/instfs/list: revision 1.25
usr.bin/tic/tic.c: revision 1.19
lib/libc/cdb/cdbw.c: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.5
share/terminfo/Makefile: revision 1.3
usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
usr.sbin/dev_mkdb/Makefile: revision 1.8
lib/libc/gen/ttyname.3: revision 1.23
lib/libc/gen/ttyname.3: revision 1.24
lib/libc/cdb/cdbr.c: revision 1.3
include/cdbw.h: revision 1.2
distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
lib/libc/gen/devname.3: revision 1.12
tools/compat/compat_defs.h: revision 1.85
tools/compat/compat_defs.h: revision 1.86
lib/libterminfo/term_private.h: revision 1.10
lib/libterminfo/term.c: revision 1.14
usr.bin/tic/tic.1: revision 1.10
lib/libterminfo/term.c: revision 1.15
lib/libterminfo/Makefile.hash: revision 1.5
lib/libterminfo/term.c: revision 1.16
distrib/amd64/installimage/install.sh: revision 1.2
share/man/man5/rc.conf.5: revision 1.152
distrib/sets/lists/tests/mi: revision 1.472
distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
include/paths.h: revision 1.41
bin/ps/ps.1: revision 1.101
lib/libterminfo/terminfo.5.in: revision 1.16
usr.bin/tic/tic.c: revision 1.20
lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
 1.15.2.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.2.1 25-Feb-2013  tls resync with head
 1.16.8.1 10-Aug-2014  tls Rebase.
 1.18.2.2 14-May-2015  snj Pull up following revision(s) (requested by martin in ticket #759):
distrib/amd64/cdroms/Makefile.cdrom: revision 1.12
distrib/amd64/installimage/Makefile: revision 1.5
distrib/amd64/installimage/spec.inst: revision 1.2
distrib/common/10-resolv.conf: file removal
distrib/common/99-print-sysinst: file removal
distrib/common/Makefile.dhcpcd: revision 1.2
distrib/common/list.dhcpcd: revision 1.3
distrib/i386/cdroms/Makefile.cdrom: revision 1.32
distrib/i386/installimage/Makefile: revision 1.5
distrib/i386/installimage/spec.inst: revision 1.2
distrib/sparc64/cdroms/installcd/Makefile: revision 1.20
distrib/vax/cdroms/installcd/Makefile: revision 1.10
usr.sbin/sysinst/msg.mi.de: revision 1.4
usr.sbin/sysinst/msg.mi.en: revision 1.4
usr.sbin/sysinst/msg.mi.es: revision 1.4
usr.sbin/sysinst/msg.mi.fr: revision 1.4
usr.sbin/sysinst/msg.mi.pl: revision 1.4
usr.sbin/sysinst/net.c: revisions 1.5-1.8, 1.11-1.15
The dhcpcd utilties in pkgsrc require dhcpcd to be running in master mode.
So set dhcpcd to start like so, but restrict it to the configured interface
still instead of ifconfig_foo=dhcp.
--
Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
--
dhcpcd will already have configured the system at this point, so
don't bother writing it manually.
--
Don't prompt for hostname or domain if obtained from DHCP.
--
Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.
--
Strip newline from the gateway correctly.
--
Show the IP6 address instead of yes
--
Fix a bogus gcc warning: dhcp_config may be used uninitialized
--
Punt custom dhcpcd hooks in favour up upstream hooks
--
For the benefit of gcc 4.5, rename a local "nl" variable to "nline",
so it doesn't collide with the global curses nl() function.
 1.18.2.1 15-Aug-2014  martin Pull up following revision(s) (requested by riastradh in ticket #17):
distrib/vax/cdroms/installcd/Makefile: revision 1.9
distrib/amd64/cdroms/Makefile.cdrom: revision 1.11
distrib/i386/cdroms/Makefile.cdrom: revision 1.31
distrib/sparc64/cdroms/installcd/Makefile: revision 1.19
CD images need libarchive if MKBSDTAR is yes.
 1.27.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.27.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.29.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.29.4.1 10-Jun-2019  christos Sync with HEAD
 1.29.2.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.4 18-Apr-2010  martin Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
 1.3 04-Apr-2010  martin Remove bogus workaround hiding a real bug: /tmp/dhcpcd-lease should be
created by the sysinst specific dhcpcd hook
 1.2 02-Apr-2010  martin Ooops, remove leftovers from the ramdisk /
 1.1 02-Apr-2010  martin Move install CDs over to / on cd9660 (instead of a memory disk image)
 1.3 26-Feb-2020  riastradh kernfs no longer needs a hacky workaround to make rootdev appear.
 1.2 19-May-2014  martin branches: 1.2.24;
Create /var/tmp for vi. Pointed out by Izumi Tsutsui.
 1.1 18-Apr-2010  martin branches: 1.1.12; 1.1.24;
Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
 1.1.24.1 10-Aug-2014  tls Rebase.
 1.1.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.24.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1 18-Apr-2010  martin Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
 1.5 12-Feb-2023  abs Enable basic command line editing in evbarm, sparc64 and vax installer shells

(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

With the change of all the install.sh scripts in amd64, evbarm,
i386, sparc64 and vax are identical apart from NetBSD RCD tags and
the sysctl -nx kern.consdev check (some of the latter are definitely
either wrong, or have an incorrect comment attached. Will return
to later)
 1.4 28-May-2015  martin branches: 1.4.26;
Make sure to copy the language catalog files for sysinst, but do not
copy sysinst itself to / on the CD, and instead use the base version
for installation.
 1.3 03-Jun-2012  joerg Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
 1.2 17-Apr-2011  martin branches: 1.2.4; 1.2.6;
On install CDs: make ^C and ^Z work (mostly) as they used to do on
crunched/ramdisk install media again.
Fixes the remaining parts of PR 44738.
 1.1 18-Apr-2010  martin Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
 1.2.6.1 23-Jun-2012  riz Pull up following revision(s) (requested by joerg in ticket #328):
lib/libc/gen/devname.c: revision 1.22
distrib/sparc64/instfs/dot.profile: revision 1.7
distrib/i386/cdroms/install.sh: revision 1.3
tests/lib/libcurses/director/director.c: revision 1.10
lib/libc/include/reentrant.h: revision 1.15
distrib/amd64/cdroms/install.sh: revision 1.3
tests/include/t_paths.c: revision 1.12
share/man/man7/hier.7: revision 1.101
etc/rc.d/sysdb: revision 1.24
include/stdlib.h: revision 1.99
tests/lib/libcurses/Makefile: revision 1.3
distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
distrib/i386/cdroms/Makefile.cdrom: revision 1.27
lib/libc/gen/ttyname.c: revision 1.25
usr.bin/tic/Makefile: revision 1.2
tools/compat/Makefile: revision 1.57
lib/libterminfo/compile.c: revision 1.7
lib/libc/gen/ttyname.c: revision 1.26
lib/libterminfo/compile.c: revision 1.8
tools/compat/Makefile: revision 1.59
tools/compat/cdbw.h: revision 1.1
distrib/i386/installimage/install.sh: revision 1.2
lib/libc/include/namespace.h: revision 1.154
usr.bin/tic/tic.c: revision 1.13
usr.bin/tic/tic.c: revision 1.14
usr.bin/tic/tic.c: revision 1.15
distrib/sets/lists/base/mi: revision 1.996
usr.bin/tic/tic.c: revision 1.16
usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
usr.bin/tic/tic.c: revision 1.17
usr.bin/tic/tic.c: revision 1.18
tools/compat/cdbr.h: revision 1.1
distrib/sparc64/instfs/list: revision 1.25
usr.bin/tic/tic.c: revision 1.19
lib/libc/cdb/cdbw.c: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.5
share/terminfo/Makefile: revision 1.3
usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
usr.sbin/dev_mkdb/Makefile: revision 1.8
lib/libc/gen/ttyname.3: revision 1.23
lib/libc/gen/ttyname.3: revision 1.24
lib/libc/cdb/cdbr.c: revision 1.3
include/cdbw.h: revision 1.2
distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
lib/libc/gen/devname.3: revision 1.12
tools/compat/compat_defs.h: revision 1.85
tools/compat/compat_defs.h: revision 1.86
lib/libterminfo/term_private.h: revision 1.10
lib/libterminfo/term.c: revision 1.14
usr.bin/tic/tic.1: revision 1.10
lib/libterminfo/term.c: revision 1.15
lib/libterminfo/Makefile.hash: revision 1.5
lib/libterminfo/term.c: revision 1.16
distrib/amd64/installimage/install.sh: revision 1.2
share/man/man5/rc.conf.5: revision 1.152
distrib/sets/lists/tests/mi: revision 1.472
distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
include/paths.h: revision 1.41
bin/ps/ps.1: revision 1.101
lib/libterminfo/terminfo.5.in: revision 1.16
usr.bin/tic/tic.c: revision 1.20
lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
 1.2.4.1 30-Oct-2012  yamt sync with head
 1.4.26.1 24-Feb-2023  martin Pull up following revision(s) (requested by abs in ticket #105):

distrib/amd64/installimage-bios/install.sh: revision 1.3
distrib/i386/cdroms/install.sh: revision 1.5
distrib/vax/cdroms/installcd/install.sh: revision 1.3
distrib/amd64/cdroms/install.sh: revision 1.5
distrib/sparc64/cdroms/installcd/install.sh: revision 1.5
distrib/i386/installimage/install.sh: revision 1.3
distrib/i386/installimage/install.sh: revision 1.4
distrib/evbarm/installimage/install.sh: revision 1.2
distrib/amd64/installimage/install.sh: revision 1.4
usr.sbin/sysinst/menus.mi: revision 1.28

Enable basic command line editing in amd64 installer shells

When a user selects "exist installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

At this point this is only on amd64, as this is the port which is
least likely to be installing on particularly esoteric terminal
hardware, and is also likely to have the highest proportion of less
experienced users

Enable basic command line editing in i386 installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

Switch install.sh to use /usr/sbin/sysinst for sysinst rather than ./sysinst
Matches i386/cdroms/install.sh and amd64/installimage/install.sh
resultant install image verified to still run sysinst correctly

Enable basic command line editing in evbarm, sparc64 and vax installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

With the change of all the install.sh scripts in amd64, evbarm,
i386, sparc64 and vax are identical apart from NetBSD RCD tags and
the sysctl -nx kern.consdev check (some of the latter are definitely
either wrong, or have an incorrect comment attached. Will return
to later)

Add "-i -E" to /bin/sh called from sysinst

This enables command line editing (primarily for arrow keys, but basic
emacs sequences will also work)

In the event that the shell has been compiled without command line
editing features (for memory contrained install environments) the
-E is ignored
 1.3 15-May-2024  christos Factor out common stuff.
 1.2 26-Apr-2024  nia Remove modules set from the i386 install cd

It is not particularly useful to be able to load modules while
installing on i386, probably the most useful one is dtrace,
and this takes up about 20mb on a port that is already exceeding
CD limits. Most stuff you'd want to use while installing is already
in GENERIC.

The modules set is still available compressed for installing into
a target system, meaning modules are available after installation.

While here, add man set to the installation DVD, it's helpful to be able
to read e.g. the man page for fdisk when rescuing a system.
 1.1 24-Apr-2024  nia sparc64 follows x86 and gets an installdvd image with all sets
 1.19 23-Jul-2025  christos bump for clang/llvm
 1.18 17-Jan-2025  martin PR 59001: bump ramdisk images size slightly for clang builds
 1.17 09-Jan-2025  martin Bump ramdisk size to deal with bigger image for new pppd
 1.16 01-Nov-2011  martin branches: 1.16.56;
Enable INET6 in the installer
 1.15 10-Jul-2011  mrg sparc64 with GCC 4.5 has about a 2% code bloat, unfortunately.

bump the instfs size to 9MB.
 1.14 12-Mar-2010  martin Provide full terminfo.db on install media
 1.13 07-Apr-2009  joerg Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
 1.12 22-Nov-2006  martin branches: 1.12.18; 1.12.28;
Remove CRUNCHGEN_FLAGS, probably left over from a previous hack to work
around bugs in an older compiler. Nowadays the default -Os works fine.
 1.11 04-Oct-2002  martin Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.10 08-May-2002  lukem branches: 1.10.2;
fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
 1.9 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.8 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.7 25-Mar-2002  lukem use check_RELEASEDIR
 1.6 05-Mar-2002  thorpej Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
 1.5 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.4 20-Jan-2002  mrg convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd. fix this shortly.
 1.3 28-Dec-2001  mason vnconfig called incorrectly - it wants either a simple "vnd0" or a full path
to a raw device, not a full path to a cooked device.
 1.2 23-Aug-2001  mrg install the netbsd.INSTALL kernel into the release area as well.
 1.1 23-Aug-2001  mrg build an "instfs" which can be untarred for complete netboot installs.
 1.10.2.1 13-Oct-2002  lukem Pull up revision 1.11 (requested by martin in ticket #903):
Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.12.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.12.18.1 05-Oct-2008  mjf Sync with HEAD.
 1.16.56.1 02-Aug-2025  perseant Sync with HEAD
 1.13 24-Jan-2017  christos += for MAKEFS_FLAGS
 1.12 11-Feb-2010  roy branches: 1.12.30; 1.12.34;
Remove terminfo.db as it's now embedded in libterminfo.
 1.11 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.10 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.9 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.8 20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.7 25-Jan-2009  abs Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.6 10-May-2007  dogcow branches: 1.6.12;
Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
 1.5 18-Aug-2006  martin It is "MAKEDEV bpf" nowadays
 1.4 19-Sep-2003  martin branches: 1.4.6; 1.4.12;
Now that -Os is save again, use it.
 1.3 04-Oct-2002  martin Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.2 01-Jun-2002  lukem fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.1 07-May-2002  lukem branches: 1.1.2;
major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1.2.2 13-Oct-2002  lukem Pull up revision 1.3 (requested by martin in ticket #903):
Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.1.2.1 02-Jun-2002  tv Pull up revision 1.2 (requested by lukem in ticket #127):
fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.4.12.1 21-Aug-2006  tron Pull up following revision(s) (requested by martin in ticket #37):
distrib/sparc64/instfs/Makefile.instfs: revision 1.5
It is "MAKEDEV bpf" nowadays
 1.4.6.1 16-Sep-2006  ghen Pull up following revision(s) (requested by martin in ticket #1508):
distrib/sparc64/instfs/Makefile.instfs: revision 1.5
It is "MAKEDEV bpf" nowadays
 1.6.12.1 05-Oct-2008  mjf Sync with HEAD.
 1.12.34.1 21-Apr-2017  bouyer Sync with HEAD
 1.12.30.1 20-Mar-2017  pgoyette Sync with HEAD
 1.3 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.2 19-Apr-2004  wiz branches: 1.2.26;
Spell removable with only two es. Inspired by jmc@openbsd.
 1.1 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.2.26.1 05-Oct-2008  mjf Sync with HEAD.
 1.9 26-Feb-2020  riastradh kernfs no longer needs a hacky workaround to make rootdev appear.
 1.8 09-Jan-2020  martin PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.7 03-Jun-2012  joerg branches: 1.7.34; 1.7.36;
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
 1.6 17-Apr-2011  martin branches: 1.6.4; 1.6.6;
On install CDs: make ^C and ^Z work (mostly) as they used to do on
crunched/ramdisk install media again.
Fixes the remaining parts of PR 44738.
 1.5 13-Mar-2010  martin Simplify the console type check by passing -nx to sysctl. Pointed out
by Alan Barrett.
 1.4 12-Mar-2010  martin Use sysctl kern.consdev to check wether we use ttyE* as console - in that
case just set up TERM as needed and go straight to sysinst. Otherwise
give a slightly verbose explanation (with common sample values) and
ask for TERM before running sysinst.
 1.3 26-Jul-2003  salo branches: 1.3.32;
netbsd.org->NetBSD.org
 1.2 08-Oct-2002  martin Add sun-type4 termcap entry and print a hint to change TERM to this
if using a Type 4 keyboard.
 1.1 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.3.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.6.6.1 23-Jun-2012  riz Pull up following revision(s) (requested by joerg in ticket #328):
lib/libc/gen/devname.c: revision 1.22
distrib/sparc64/instfs/dot.profile: revision 1.7
distrib/i386/cdroms/install.sh: revision 1.3
tests/lib/libcurses/director/director.c: revision 1.10
lib/libc/include/reentrant.h: revision 1.15
distrib/amd64/cdroms/install.sh: revision 1.3
tests/include/t_paths.c: revision 1.12
share/man/man7/hier.7: revision 1.101
etc/rc.d/sysdb: revision 1.24
include/stdlib.h: revision 1.99
tests/lib/libcurses/Makefile: revision 1.3
distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
distrib/i386/cdroms/Makefile.cdrom: revision 1.27
lib/libc/gen/ttyname.c: revision 1.25
usr.bin/tic/Makefile: revision 1.2
tools/compat/Makefile: revision 1.57
lib/libterminfo/compile.c: revision 1.7
lib/libc/gen/ttyname.c: revision 1.26
lib/libterminfo/compile.c: revision 1.8
tools/compat/Makefile: revision 1.59
tools/compat/cdbw.h: revision 1.1
distrib/i386/installimage/install.sh: revision 1.2
lib/libc/include/namespace.h: revision 1.154
usr.bin/tic/tic.c: revision 1.13
usr.bin/tic/tic.c: revision 1.14
usr.bin/tic/tic.c: revision 1.15
distrib/sets/lists/base/mi: revision 1.996
usr.bin/tic/tic.c: revision 1.16
usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
usr.bin/tic/tic.c: revision 1.17
usr.bin/tic/tic.c: revision 1.18
tools/compat/cdbr.h: revision 1.1
distrib/sparc64/instfs/list: revision 1.25
usr.bin/tic/tic.c: revision 1.19
lib/libc/cdb/cdbw.c: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.5
share/terminfo/Makefile: revision 1.3
usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
usr.sbin/dev_mkdb/Makefile: revision 1.8
lib/libc/gen/ttyname.3: revision 1.23
lib/libc/gen/ttyname.3: revision 1.24
lib/libc/cdb/cdbr.c: revision 1.3
include/cdbw.h: revision 1.2
distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
lib/libc/gen/devname.3: revision 1.12
tools/compat/compat_defs.h: revision 1.85
tools/compat/compat_defs.h: revision 1.86
lib/libterminfo/term_private.h: revision 1.10
lib/libterminfo/term.c: revision 1.14
usr.bin/tic/tic.1: revision 1.10
lib/libterminfo/term.c: revision 1.15
lib/libterminfo/Makefile.hash: revision 1.5
lib/libterminfo/term.c: revision 1.16
distrib/amd64/installimage/install.sh: revision 1.2
share/man/man5/rc.conf.5: revision 1.152
distrib/sets/lists/tests/mi: revision 1.472
distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
include/paths.h: revision 1.41
bin/ps/ps.1: revision 1.101
lib/libterminfo/terminfo.5.in: revision 1.16
usr.bin/tic/tic.c: revision 1.20
lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
 1.6.4.1 30-Oct-2012  yamt sync with head
 1.7.36.1 28-Jan-2020  msaitoh Pull up following revision(s) (requested by martin in ticket #669):
distrib/playstation2/miniroot/dot.profile: revision 1.5
distrib/sparc64/instfs/dot.profile: revision 1.8
distrib/hpcarm/miniroot/dot.profile: revision 1.3
distrib/emips/miniroot/dot.profile: revision 1.2
distrib/x68k/floppies/ramdisk/dot.profile: revision 1.16
distrib/zaurus/ramdisk/dot.profile: revision 1.4
distrib/i386/ramdisks/common/dot.profile: revision 1.7
distrib/cobalt/ramdisk/dot.profile: revision 1.2
distrib/hpcsh/miniroot/dot.profile: revision 1.5
distrib/evbarm/instkernel/ramdisk/dot.profile: revision 1.3
distrib/riscv/ramdisk/dot.profile: revision 1.2
distrib/sandpoint/ramdisk/dot.profile: revision 1.2
distrib/landisk/ramdisk/dot.profile: revision 1.3
distrib/amd64/ramdisks/common/dot.profile: revision 1.4
distrib/macppc/floppies/ramdisk/dot.profile: revision 1.14
distrib/mipsco/ramdisk/dot.profile: revision 1.3
distrib/evbmips/instkernel/ramdisk/dot.profile: revision 1.2
distrib/acorn32/ramdisk/dot.profile: revision 1.4
distrib/cats/ramdisk/dot.profile: revision 1.5
distrib/vax/ramdisk/dot.profile: revision 1.10
distrib/pmax/miniroot/dot.profile: revision 1.3
distrib/sparc/miniroot/dot.profile: revision 1.16
distrib/hpcmips/miniroot/dot.profile: revision 1.8
distrib/prep/floppies/ramdisk/dot.profile: revision 1.3
distrib/news68k/floppies/ramdisk/dot.profile: revision 1.8
distrib/alpha/instkernel/ramdisk/dot.profile: revision 1.11
distrib/ofppc/ramdisks/common/dot.profile: revision 1.2
distrib/mac68k/instkernel/ramdisk/dot.profile: revision 1.9
distrib/hp300/ramdisk/dot.profile: revision 1.7
distrib/ews4800mips/floppies/ramdisk/dot.profile: revision 1.2
distrib/emips/ramdisk/dot.profile: revision 1.3
distrib/newsmips/floppies/ramdisk/dot.profile: revision 1.7
distrib/bebox/ramdisk/dot.profile: revision 1.2
distrib/rs6000/ramdisk/dot.profile: revision 1.2
distrib/sgimips/miniroot/dot.profile: revision 1.2
distrib/mvme68k/miniroot/dot.profile: revision 1.9
distrib/hppa/ramdisk/dot.profile: revision 1.2
distrib/luna68k/ramdisk/dot.profile: revision 1.2
distrib/sgimips/ramdisk/dot.profile: revision 1.4
distrib/evbsh3/instkernel/ramdisk/dot.profile: revision 1.2
distrib/evbppc/ramdisk/dot.profile: revision 1.5
distrib/shark/instkernel/ramdisk/dot.profile: revision 1.5
distrib/pmax/ramdisk/dot.profile: revision 1.11
distrib/dreamcast/ramdisk/dot.profile: revision 1.3
distrib/arc/ramdisk/dot.profile: revision 1.5
distrib/atari/floppies/common/dot.profile: revision 1.8
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.7.34.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 23-Aug-2001  mrg build an "instfs" which can be untarred for complete netboot installs.
 1.32 19-Jul-2025  christos crypto needs pthread.
 1.31 09-Jan-2025  martin Add -lssl -lcrypto for new pppd
 1.30 27-Mar-2020  rin branches: 1.30.8;
Get back to terminfo.cdb.
 1.29 16-Mar-2020  rin Catch up with major bump in terminfo. Unbreak build.
 1.28 01-Oct-2018  martin Make gzip on some crunched install media support xz decompression
(just like our base version does).
 1.27 28-Sep-2018  martin Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
 1.26 30-Nov-2013  nakayama branches: 1.26.24; 1.26.26;
pppd has moved.
 1.25 03-Jun-2012  joerg branches: 1.25.2;
Switch terminfo(3) to cdb(5).
 1.24 03-Jul-2011  tron branches: 1.24.2; 1.24.4;
Update location of "less" source directory to the build of various
install medias.
 1.23 19-Jun-2011  tsutsui Fix indent.
 1.22 19-Jun-2011  tsutsui Remove unnecessary gnu/usr.bin path from SRCDIRS.
 1.21 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.20 14-Jan-2011  tsutsui branches: 1.20.4;
Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
usr/bin/chgrp -> bin/chgrp
 1.19 12-Mar-2010  martin Provide full terminfo.db on install media
 1.18 17-Feb-2010  martin add mount_tmpfs
 1.17 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.16 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.15 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.14 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.13 20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.12 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.11 29-Apr-2009  tsutsui Fix indent on common/protocols changes.
 1.10 07-Apr-2009  joerg Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
 1.9 25-Jan-2009  abs branches: 1.9.2;
Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.8 06-May-2008  dyoung Add -lprop to the LIBS line so that ifconfig will link.
 1.7 10-May-2007  dogcow branches: 1.7.12; 1.7.14;
Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
 1.6 11-Nov-2006  jmmv Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
the root file system on a LFS volume.

Addresses PR bin/30407. No objections in tech-userlevel@.
 1.5 14-Jan-2004  mrg add /sbin/raidctl.
 1.4 25-Dec-2003  martin Add missing fsck_lfs. While there add -lz to LIBS, which is needed with
the new gzip.

Noticed (and patch provided) by John Heasley.
 1.3 17-Oct-2002  lukem Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
 1.2 01-Jun-2002  lukem fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.1 07-May-2002  lukem branches: 1.1.2;
major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1.2.1 02-Jun-2002  tv Pull up revision 1.2 (requested by lukem in ticket #127):
fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.7.14.1 18-May-2008  yamt sync with head.
 1.7.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.7.12.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.2.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.20.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.24.4.1 23-Jun-2012  riz Pull up following revision(s) (requested by joerg in ticket #328):
lib/libc/gen/devname.c: revision 1.22
distrib/sparc64/instfs/dot.profile: revision 1.7
distrib/i386/cdroms/install.sh: revision 1.3
tests/lib/libcurses/director/director.c: revision 1.10
lib/libc/include/reentrant.h: revision 1.15
distrib/amd64/cdroms/install.sh: revision 1.3
tests/include/t_paths.c: revision 1.12
share/man/man7/hier.7: revision 1.101
etc/rc.d/sysdb: revision 1.24
include/stdlib.h: revision 1.99
tests/lib/libcurses/Makefile: revision 1.3
distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
distrib/i386/cdroms/Makefile.cdrom: revision 1.27
lib/libc/gen/ttyname.c: revision 1.25
usr.bin/tic/Makefile: revision 1.2
tools/compat/Makefile: revision 1.57
lib/libterminfo/compile.c: revision 1.7
lib/libc/gen/ttyname.c: revision 1.26
lib/libterminfo/compile.c: revision 1.8
tools/compat/Makefile: revision 1.59
tools/compat/cdbw.h: revision 1.1
distrib/i386/installimage/install.sh: revision 1.2
lib/libc/include/namespace.h: revision 1.154
usr.bin/tic/tic.c: revision 1.13
usr.bin/tic/tic.c: revision 1.14
usr.bin/tic/tic.c: revision 1.15
distrib/sets/lists/base/mi: revision 1.996
usr.bin/tic/tic.c: revision 1.16
usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
usr.bin/tic/tic.c: revision 1.17
usr.bin/tic/tic.c: revision 1.18
tools/compat/cdbr.h: revision 1.1
distrib/sparc64/instfs/list: revision 1.25
usr.bin/tic/tic.c: revision 1.19
lib/libc/cdb/cdbw.c: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.5
share/terminfo/Makefile: revision 1.3
usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
usr.sbin/dev_mkdb/Makefile: revision 1.8
lib/libc/gen/ttyname.3: revision 1.23
lib/libc/gen/ttyname.3: revision 1.24
lib/libc/cdb/cdbr.c: revision 1.3
include/cdbw.h: revision 1.2
distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
lib/libc/gen/devname.3: revision 1.12
tools/compat/compat_defs.h: revision 1.85
tools/compat/compat_defs.h: revision 1.86
lib/libterminfo/term_private.h: revision 1.10
lib/libterminfo/term.c: revision 1.14
usr.bin/tic/tic.1: revision 1.10
lib/libterminfo/term.c: revision 1.15
lib/libterminfo/Makefile.hash: revision 1.5
lib/libterminfo/term.c: revision 1.16
distrib/amd64/installimage/install.sh: revision 1.2
share/man/man5/rc.conf.5: revision 1.152
distrib/sets/lists/tests/mi: revision 1.472
distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
include/paths.h: revision 1.41
bin/ps/ps.1: revision 1.101
lib/libterminfo/terminfo.5.in: revision 1.16
usr.bin/tic/tic.c: revision 1.20
lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
 1.24.2.2 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.24.2.1 30-Oct-2012  yamt sync with head
 1.25.2.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.26.26.1 10-Jun-2019  christos Sync with HEAD
 1.26.24.2 20-Oct-2018  pgoyette Sync with head
 1.26.24.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.30.8.1 02-Aug-2025  perseant Sync with HEAD
 1.3 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.2 08-Oct-2002  martin branches: 1.2.32;
Add sun-type4 termcap entry and print a hint to change TERM to this
if using a Type 4 keyboard.
 1.1 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.2.32.1 05-Oct-2008  mjf Sync 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.5 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.4 22-Mar-2015  tsutsui branches: 1.4.14; 1.4.16;
Don't forget to put /ofwboot into the image otherwise boot fails.

Should be pulled up to netbsd-6* and netbsd-7 branches.
 1.3 03-Nov-2012  tsutsui branches: 1.3.10;
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:48 +0000
 1.1.2.2 02-May-2015  martin Pull up following revision(s) (requested by tsutsui in ticket #1297):
distrib/sparc64/liveimage/emuimage/Makefile: revision 1.4
Don't forget to put /ofwboot into the image otherwise boot fails.
 1.1.2.1 17-Aug-2012  martin branches: 1.1.2.1.4; 1.1.2.1.6;
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.1.2.1.6.1 02-May-2015  martin Pull up following revision(s) (requested by tsutsui in ticket #1297):
distrib/sparc64/liveimage/emuimage/Makefile: revision 1.4
Don't forget to put /ofwboot into the image otherwise boot fails.
 1.1.2.1.4.1 02-May-2015  martin Pull up following revision(s) (requested by tsutsui in ticket #1297):
distrib/sparc64/liveimage/emuimage/Makefile: revision 1.4
Don't forget to put /ofwboot into the image otherwise boot fails.
 1.2.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.10.1 02-May-2015  martin Pull up following revision(s) (requested by tsutsui in ticket #729):
distrib/sparc64/liveimage/emuimage/Makefile: revision 1.4
Don't forget to put /ofwboot into the image otherwise boot fails.
 1.4.16.1 10-Jun-2019  christos Sync with HEAD
 1.4.14.1 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.37 24-Jul-2025  christos bump for clang/llvm
 1.36 01-Feb-2025  martin Bump image to 18MB, llvm generates larger code that won't fit otherwise
 1.35 09-Jan-2025  martin Bump ramdisk size to deal with bigger image for new pppd
 1.34 17-Jul-2017  hannken branches: 1.34.2; 1.34.18;
Bump image size.
 1.33 10-Aug-2014  martin Bump image size
 1.32 05-Aug-2014  apb Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
 1.31 27-May-2014  palle Ensure a disklabel is present since sun4v OpenBoot requires a valid disklabel in the disk file image. With this change the miniroot.fs can be used as a virtual disk when using sun4v LDOMs. OK martin@
 1.30 27-Jan-2014  apb branches: 1.30.2;
Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
 1.29 12-Mar-2010  martin branches: 1.29.6; 1.29.12;
Provide full terminfo.db on install media
 1.28 05-Jan-2010  he Bump the miniroot size from 8m to 9m, so that the contents fits again.
OK'ed by mrg@
 1.27 03-Apr-2009  perry Consistently use gzip with the -n flag so dates are not embedded.

Not tested on all platforms.
 1.26 09-May-2006  he branches: 1.26.20; 1.26.30;
Bump the miniroot size from 7MB to 8MB so that it fits again.
 1.25 02-Jul-2004  jmc Don't remove sysinst via CLEANFILES. It's a directory..Provide a new clean rule
for it
 1.24 24-May-2004  hannken Do not fail if directory sysinst exists. Makes update builds work again.
 1.23 21-Apr-2004  dsl Copy the sysinst message files into the correct objdir at the same time
as copying the crunched program binary.
Fixes PR sparc64/25265
 1.22 10-Jul-2003  lukem branches: 1.22.2;
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.21 14-May-2002  lukem consistently use "${INSTALLBOOT} -v ..."
 1.20 08-May-2002  lukem fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
 1.19 08-May-2002  lukem improve how gzipping is done to reduce amount of temp files, etc.
 1.18 07-May-2002  lukem this needs to be ${INSTALLBOOT}ed
 1.17 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.16 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.15 28-Mar-2002  rafal Fix build; don't reference ${DISTRIBDIR} when it hasn't been defined; instead
define HACKSRC via ${SRCROOT}/distrib/utils/libhack
 1.14 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.13 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.12 21-Jan-2002  mrg - don't put a copy of GENERIC in the netbsd.INSTALL kernel's embedded
filesystem's as /netbsd...

- reduce INSTALL size by 2.5MB.

- clean up list.m4
 1.11 20-Jan-2002  mrg convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd. fix this shortly.
 1.10 26-Dec-2001  mason vnconfig called incorrectly, breaks build
 1.9 04-Dec-2001  jmc Add bsd.prog.mk for libhack components
 1.8 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.7 13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.6 10-Oct-2001  enami Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts. Pointed out by chs@netbsd.org.
 1.5 23-Aug-2001  mrg netbsd.INSTALL.gz is already install; back out part of previous.
 1.4 23-Aug-2001  eeh Install INSTALL kernel.
 1.3 21-Jul-2001  eeh Make the size of the miniroot more easily tuneable and install it in a kernel.
 1.2 07-Jan-2001  mrg branches: 1.2.2;
s/ramdisk/xminiroot/
 1.1 07-Jan-2001  mrg rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.2.2.3 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.2.2.2 03-Feb-2001  he Pull up revisions 1.1-1.2 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.2.2.1 07-Jan-2001  he file Makefile was added on branch netbsd-1-5 on 2001-02-03 20:21:26 +0000
 1.22.2.3 02-Jul-2004  he Pull up revision 1.25 (requested by jmc in ticket #578):
Do not remove sysinst via CLEANFILES, since it is a directory.
Instead, provide a new clean rule for it. Fixes PR#26137.
 1.22.2.2 25-May-2004  jmc Pullup rev 1.24 (requested by hannken in ticket #383)

Do not fail if directory sysinst exists.
 1.22.2.1 22-Apr-2004  tron Pull up revision 1.23 (requested by dsl in ticket #171):
Copy the sysinst message files into the correct objdir at the same time
as copying the crunched program binary.
Fixes PR sparc64/25265
 1.26.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.26.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.29.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.29.6.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.30.2.1 10-Aug-2014  tls Rebase.
 1.34.18.1 02-Aug-2025  perseant Sync with HEAD
 1.34.2.2 17-Jul-2017  hannken 309866
 1.34.2.1 17-Jul-2017  hannken file Makefile was added on branch perseant-stdc-iso10646 on 2017-07-17 14:36:14 +0000
 1.3 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.2 21-Jul-2001  eeh Make the size of the miniroot more easily tuneable and install it in a kernel.
 1.1 07-Jan-2001  mrg branches: 1.1.2;
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.1.2.2 03-Feb-2001  he Pull up revision 1.1 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.1 07-Jan-2001  he file disktab was added on branch netbsd-1-5 on 2001-02-03 20:21:28 +0000
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 07-Jan-2001  mrg branches: 1.1.2;
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.1.2.2 03-Feb-2001  he Pull up revision 1.1 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.1 07-Jan-2001  he file disktab.preinstall was added on branch netbsd-1-5 on 2001-02-03 20:21:30 +0000
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 07-Jan-2001  mrg branches: 1.1.2;
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.1.2.2 03-Feb-2001  he Pull up revision 1.1 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.1 07-Jan-2001  he file dot.profile.m4 was added on branch netbsd-1-5 on 2001-02-03 20:21:32 +0000
 1.6 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.5 21-Jan-2002  mrg - don't put a copy of GENERIC in the netbsd.INSTALL kernel's embedded
filesystem's as /netbsd...

- reduce INSTALL size by 2.5MB.

- clean up list.m4
 1.4 05-Jan-2002  mrg update the location of the client script.
 1.3 01-Jan-2002  mrg link /sbin/disklabel, and copy dhclient-script in as well (dhclient was already included, just not available)
 1.2 21-Jul-2001  eeh Make the size of the miniroot more easily tuneable and install it in a kernel.
 1.1 07-Jan-2001  mrg branches: 1.1.2;
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.1.2.2 03-Feb-2001  he Pull up revision 1.1 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.1 07-Jan-2001  he file list.m4 was added on branch netbsd-1-5 on 2001-02-03 20:21:34 +0000
 1.1 07-May-2002  lukem branches: 1.1.34;
major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 07-Jan-2001  mrg branches: 1.1.2;
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.1.2.2 03-Feb-2001  he Pull up revision 1.1 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.1 07-Jan-2001  he file mtree.conf was added on branch netbsd-1-5 on 2001-02-03 20:21:36 +0000
 1.3 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.2 09-Apr-2002  lukem - add specific special entry for sys/arch/${MACHINE}/stand/installboot
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
 1.1 07-Jan-2001  mrg branches: 1.1.2;
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.1.2.2 03-Feb-2001  he Pull up revision 1.1 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.1 07-Jan-2001  he file ramdiskbin.m4 was added on branch netbsd-1-5 on 2001-02-03 20:21:38 +0000
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 07-Jan-2001  mrg branches: 1.1.2;
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
 1.1.2.2 03-Feb-2001  he Pull up revision 1.1 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.
 1.1.2.1 07-Jan-2001  he file termcap.mini was added on branch netbsd-1-5 on 2001-02-03 20:21:40 +0000

RSS XML Feed