Home | History | Annotate | only in /src/distrib/hp300/miniroot
History log of /src/distrib/hp300/miniroot
RevisionDateAuthorComments
 1.2 11-Jun-1996  thorpej Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.1 03-Oct-1995  thorpej branches: 1.1.6;
First-cut of hp300 miniroot-based installation tools. Currently understands
installing from FTP or NFS server, tape, or CD-ROM, although tape and
CD-ROM are currently untested. Hooks for placing disklabels on additional
disks are there, but meat is yet to be implemented.
 1.1.6.1 11-Jun-1996  thorpej Update from trunk:

Remove hp300-specific installation tools and use the MI miniroot
tools.
 1.14 24-Jan-2017  christos += for MAKEFS_FLAGS
 1.13 26-Oct-2012  tsutsui branches: 1.13.14; 1.13.18;
Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.12 11-Feb-2010  roy branches: 1.12.6; 1.12.8; 1.12.12; 1.12.14;
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 26-Apr-2002  lukem branches: 1.8.34;
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.7 12-Apr-2002  lukem - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
 1.6 14-Mar-2002  gmcgarry Increase number of inodes
 1.5 14-Mar-2002  gmcgarry Use INSTALL kernel in miniroot; add image_md_post target
 1.4 06-Mar-2002  lukem Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
 1.3 11-Jun-1996  thorpej Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.2 28-Nov-1995  jtc branches: 1.2.4;
merge in changes from 1.1 release branch
 1.1 03-Oct-1995  thorpej branches: 1.1.2;
First-cut of hp300 miniroot-based installation tools. Currently understands
installing from FTP or NFS server, tape, or CD-ROM, although tape and
CD-ROM are currently untested. Hooks for placing disklabels on additional
disks are there, but meat is yet to be implemented.
 1.1.2.1 07-Nov-1995  thorpej We're installing 1.1, really.
 1.2.4.1 11-Jun-1996  thorpej Update from trunk:

Remove hp300-specific installation tools and use the MI miniroot
tools.
 1.8.34.1 05-Oct-2008  mjf Sync with HEAD.
 1.12.14.1 25-Nov-2012  jdc Pull up revisions:
src/distrib/emips/miniroot/Makefile.inc revision 1.3
src/distrib/hp300/miniroot/Makefile.inc revision 1.13
src/distrib/hpcarm/miniroot/Makefile.inc revision 1.7
src/distrib/hpcmips/miniroot/Makefile.inc revision 1.20
src/distrib/hpcsh/miniroot/Makefile.inc revision 1.8
src/distrib/mvme68k/miniroot/Makefile.inc revision 1.13
src/distrib/pmax/miniroot/Makefile.inc revision 1.24
src/distrib/vax/miniroot/Makefile.inc revision 1.23
(requested by tsutsui in ticket #650).

Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.12.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.12.8.1 18-Nov-2012  msaitoh Pull up following revision(s) (requested by tsutsui in ticket #650):
distrib/hpcmips/miniroot/Makefile.inc: revision 1.20
distrib/hpcsh/miniroot/Makefile.inc: revision 1.8
distrib/hp300/miniroot/Makefile.inc: revision 1.13
distrib/hpcarm/miniroot/Makefile.inc: revision 1.7
distrib/vax/miniroot/Makefile.inc: revision 1.23
distrib/mvme68k/miniroot/Makefile.inc: revision 1.13
distrib/emips/miniroot/Makefile.inc: revision 1.3
distrib/pmax/miniroot/Makefile.inc: revision 1.24
Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.12.6.1 30-Oct-2012  yamt sync with head
 1.13.18.1 21-Apr-2017  bouyer Sync with HEAD
 1.13.14.1 20-Mar-2017  pgoyette Sync with HEAD
 1.8 06-Feb-2011  tsutsui Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.7 26-Jul-2003  salo branches: 1.7.32; 1.7.52;
netbsd.org->NetBSD.org
 1.6 14-Jun-2000  cgd sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself. (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.) Their approval has been given re: the license
change.
 1.5 14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.4 23-Nov-1999  simonb Don't start update.
 1.3 26-Jun-1999  cgd branches: 1.3.4;
after checking and setting DONEPROFILE, export it so that children of the
shell (e.g. programs and shells invoked via sysinst) don't try to run
sysinst again. Fixes PR#7805.
 1.2 09-Jan-1998  perry branches: 1.2.2;
Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito)
 1.1 11-Jun-1996  thorpej branches: 1.1.2;
Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.1.2.2 11-Jun-1996  thorpej Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.1.2.1 11-Jun-1996  thorpej file dot.profile was added on branch netbsd-1-2 on 1996-06-11 08:30:14 +0000
 1.2.2.1 26-Jun-1999  cgd pull up rev 1.3 from trunk. (cgd)
 1.3.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.52.1 08-Feb-2011  bouyer Sync with HEAD
 1.7.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.21 26-Mar-2023  andvar s/displyed/displayed/
 1.20 05-Dec-2020  tsutsui Use proper release version strings ("9.1" rather than "91") in banners.

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

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

Worth to pullup to netbsd-9.
 1.19 05-Dec-2020  tsutsui Add missing md_get_partition_range() that causes installation failure.

Also reported by Martin Trusler on testing hp300 miniroot.
Should be pulled up to netbsd-9 and netbsd-8.
 1.18 05-Dec-2020  tsutsui The kernel and X sets should be specified in MD miniroot scripts.

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

Should be pulled up to netbsd-9 and netbsd-8.
 1.17 10-Apr-2019  christos branches: 1.17.2;
adjust miniroot scripts to deal with the time prefix in dmesg
 1.16 04-Apr-2019  christos modernize, and avoid -a -o
 1.15 06-Feb-2011  tsutsui branches: 1.15.38; 1.15.46;
Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.14 08-May-2009  tsutsui branches: 1.14.2;
Make install.md script probe cd(4) devices properly.
Problem reported by doomwarrior on port-hp300.
 1.13 30-Apr-2008  martin branches: 1.13.4; 1.13.6; 1.13.8;
Convert TNF licenses to new 2 clause variant
 1.12 29-Jul-2006  tsutsui branches: 1.12.20; 1.12.22;
After extracting sets, copy miniroot kernel only if there is
no extracted kernel in the target disk.
 1.11 21-Jul-2006  tsutsui Use MI installboot(8), not obsolete disklabel(8) with -B.
 1.10 04-Jun-2006  tsutsui Also fix md_get_cddevs() to match cd probe messages by MI SCSI drivers.
(untested)
 1.9 04-Jun-2006  tsutsui Fix md_get_diskdevs() to match sd probe messages by MI SCSI drivers.
Problem reported by Juha Laiho on port-hp300.
 1.8 23-Feb-2003  he branches: 1.8.6; 1.8.10;
Remove the need to include grep in the miniroot; replace with
usage of awk instead.
 1.7 17-Mar-2002  gmcgarry Warn than the INSTALL kernel has been installed.
 1.6 09-Oct-1997  jtc Fix tipo inherited from old version of TNF copyright template.
 1.5 11-Oct-1996  thorpej Merge the netbsd-1-2 branch back into the mainline.
 1.4 26-Aug-1996  thorpej Pull md_install_sets() changes down from release branch.
 1.3 22-Aug-1996  mrg do md_install_sets.
 1.2 26-Jun-1996  thorpej Add md_copy_kernel().
(I have the feeling that a cvs merge botched at some point...)
 1.1 11-Jun-1996  thorpej branches: 1.1.2;
Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.1.2.5 26-Aug-1996  gwr Replace do_mfs_mount with md_makerootwritable
(On some ports it is easier to remount root.)
 1.1.2.4 26-Aug-1996  thorpej Nuke md_install_sets() ... just set the MDSETS variable at the top of
install.md
 1.1.2.3 22-Aug-1996  mrg pull up md_install_sets.
 1.1.2.2 26-Jun-1996  thorpej Update from trunk:

Add md_copy_kernel().
 1.1.2.1 11-Jun-1996  thorpej file install.md was added on branch netbsd-1-2 on 1996-06-26 21:14:17 +0000
 1.8.10.2 16-Jun-2006  riz Pull up following revision(s) (requested by tsutsui in ticket #1381):
distrib/hp300/miniroot/install.md: revision 1.10
Also fix md_get_cddevs() to match cd probe messages by MI SCSI drivers.
(untested)
 1.8.10.1 16-Jun-2006  riz Pull up following revision(s) (requested by tsutsui in ticket #1381):
distrib/hp300/miniroot/install.md: revision 1.9
Fix md_get_diskdevs() to match sd probe messages by MI SCSI drivers.
Problem reported by Juha Laiho on port-hp300.
 1.8.6.2 16-Jun-2006  riz Pull up following revision(s) (requested by tsutsui in ticket #1381):
distrib/hp300/miniroot/install.md: revision 1.10
Also fix md_get_cddevs() to match cd probe messages by MI SCSI drivers.
(untested)
 1.8.6.1 16-Jun-2006  riz Pull up following revision(s) (requested by tsutsui in ticket #1381):
distrib/hp300/miniroot/install.md: revision 1.9
Fix md_get_diskdevs() to match sd probe messages by MI SCSI drivers.
Problem reported by Juha Laiho on port-hp300.
 1.12.22.1 18-May-2008  yamt sync with head.
 1.12.20.2 05-Oct-2008  mjf Sync with HEAD.
 1.12.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.8.1 19-Jun-2009  snj branches: 1.13.8.1.2;
Pull up following revision(s) (requested by tsutsui in ticket #820):
distrib/hp300/miniroot/install.md: revision 1.14
Make install.md script probe cd(4) devices properly.
Problem reported by doomwarrior on port-hp300.
 1.13.8.1.2.1 21-Apr-2010  matt sync to netbsd-5
 1.13.6.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.13.4.1 19-Jun-2009  snj Pull up following revision(s) (requested by tsutsui in ticket #820):
distrib/hp300/miniroot/install.md: revision 1.14
Make install.md script probe cd(4) devices properly.
Problem reported by doomwarrior on port-hp300.
 1.14.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.15.46.1 10-Jun-2019  christos Sync with HEAD
 1.15.38.1 19-Dec-2020  martin Pull up following revision(s) (requested by tsutsui in ticket #1639):

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

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

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

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

NFCI.

-

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

-

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

Otherwise they are not listed at least on ftp installation.

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

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

-

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

Should be pulled up to netbsd-9.

-

Explicitly sort set names fetched via ftp nlist.

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

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

-

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

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

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

Worth to pullup to netbsd-9.

-

Inform the default installation directory in the official ftp server.

-

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

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

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

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

Maybe should be pulled up to netbsd-9.

-

Add missing md_get_partition_range() that causes installation failure.

Also reported by Martin Trusler on testing hp300 miniroot.

Should be pulled up to netbsd-9 and netbsd-8.
 1.24 20-Sep-2024  rin distrib: Adjust for nawk/bin/awk to nawk/bin
 1.23 19-Aug-2024  christos handle awk move
 1.22 22-Apr-2015  christos branches: 1.22.28;
find awk where it is now
 1.21 30-Nov-2013  nakayama nvi has moved.
 1.20 03-Jul-2011  tron branches: 1.20.2; 1.20.8;
Update location of "less" source directory to the build of various
install medias.
 1.19 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.18 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.17 02-Jan-2010  tsutsui No need to install /usr/share/zoneinfo into miniroot
because libc functions in libhack doesn't require it and
zoneinfo files seem to get larger since tzcode2009k import.
(due to 64bit time_t support?)

Briefly tested sysinst on sparc miniroot.
 1.16 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.15 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.14 30-Oct-2008  tsutsui usr.bin/vi/build -> usr.bin/nvi/build
 1.13 12-Apr-2006  tsutsui branches: 1.13.20;
Add MI installboot(8).
 1.12 30-Mar-2004  he Catch up with the removal of gawk, so that the miniroot builds again.
 1.11 23-Feb-2003  he branches: 1.11.2;
Remove the need to include grep in the miniroot; replace with
usage of awk instead.
 1.10 19-Feb-2003  he The ports which use grep in their miniroot need to have a special
rule to get at the source (and object) directory after the recent
grep move.
 1.9 12-Jun-2002  lukem as COPYDIR copies files with 444 permissions, we need to explicitly
add MTREE entries to change the permissions of executable programs
such as usr/mdec/installboot and usr/mdec/binstall
 1.8 26-Apr-2002  lukem branches: 1.8.2;
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.7 17-Mar-2002  gmcgarry Use the INSTALL kernel, rather than GENERIC kernel
 1.6 06-Mar-2002  lukem Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
 1.5 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.4 14-Feb-1999  he Remove entry for `strings' since that's binutils-based and we don't
have the machinery to include that (besdies, it would take up lots of
space on the miniroot).
 1.3 23-Dec-1997  scottr Don't use an absolute path for the less(1) source.
 1.2 11-Jun-1996  thorpej branches: 1.2.2;
Adapt to the slightly different content of the MD `list' file on the
trunk.
 1.1 11-Jun-1996  thorpej branches: 1.1.2;
Oops, missed this file:

Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.1.2.2 26-Jun-1996  thorpej Update from trunk; I missed this previously.
 1.1.2.1 11-Jun-1996  thorpej file list was added on branch netbsd-1-2 on 1996-06-26 19:41:40 +0000
 1.2.2.1 05-May-1998  mycroft Pull up 1.3, per request of scottr.
 1.8.2.1 13-Jun-2002  lukem Pull up revision 1.9 (requested by lukem in ticket #260):
as COPYDIR copies files with 444 permissions, we need to explicitly
add MTREE entries to change the permissions of executable programs
such as usr/mdec/installboot and usr/mdec/binstall
 1.11.2.1 31-Mar-2004  tron Pull up revision 1.12 (requested by he in ticket #24):
Catch up with the removal of gawk, so that the miniroot builds again.
 1.13.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.20.8.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.22.28.1 02-Aug-2025  perseant Sync with HEAD
 1.2 11-Jun-1996  thorpej Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.1 03-Oct-1995  thorpej branches: 1.1.6;
First-cut of hp300 miniroot-based installation tools. Currently understands
installing from FTP or NFS server, tape, or CD-ROM, although tape and
CD-ROM are currently untested. Hooks for placing disklabels on additional
disks are there, but meat is yet to be implemented.
 1.1.6.1 11-Jun-1996  thorpej Update from trunk:

Remove hp300-specific installation tools and use the MI miniroot
tools.
 1.2 11-Jun-1996  thorpej Remove the hp300-specific installation tools and use the MI minroot
tools.
 1.1 03-Oct-1995  thorpej branches: 1.1.6;
First-cut of hp300 miniroot-based installation tools. Currently understands
installing from FTP or NFS server, tape, or CD-ROM, although tape and
CD-ROM are currently untested. Hooks for placing disklabels on additional
disks are there, but meat is yet to be implemented.
 1.1.6.1 11-Jun-1996  thorpej Update from trunk:

Remove hp300-specific installation tools and use the MI miniroot
tools.

RSS XML Feed