Home | History | Annotate | only in /src/distrib/mvme68k/miniroot
History log of /src/distrib/mvme68k/miniroot
RevisionDateAuthorComments
 1.2 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.1 24-Nov-2000  scw Automate the MD `make release|snapshot' procedure.
[I should have done this ages ago.]
 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 29-May-2002  lukem branches: 1.8.32;
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.7 26-Apr-2002  lukem branches: 1.7.2;
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.6 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.5 03-Apr-2002  scw From lukem: Fix the lack of inodes problem a slightly different way.
[Although the real cure is to fix makefs(8).]
 1.4 01-Apr-2002  lukem ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
 1.3 25-Mar-2002  scw Add MAKEFS_FLAGS, as suggested by Luke Mewburn. This fixes a problem
with a lack of inodes on the miniroot image.
 1.2 17-Mar-2002  scw Add an empty (for now) `image_md_post'.
 1.1 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.7.2.1 29-May-2002  lukem Pull up revision 1.8 (requested by lukem):
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.8.32.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.9 09-Jan-2020  martin PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.8 26-Jul-2003  salo branches: 1.8.32; 1.8.100; 1.8.102;
netbsd.org->NetBSD.org
 1.7 25-Mar-2002  scw Make sysinst the default installer, with the option of falling back
to the old shell-script installer. Based on the sparc dot.profile.
 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 17-Dec-1997  scw mvme68k miniroot config files
 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.8.102.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.8.100.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.8.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.11 26-Mar-2023  andvar s/displyed/displayed/
 1.10 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.9 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.8 10-Apr-2019  christos branches: 1.8.2;
adjust miniroot scripts to deal with the time prefix in dmesg
 1.7 04-Apr-2019  christos modernize, and avoid -a -o
 1.6 10-Mar-2010  abs branches: 1.6.40; 1.6.48;
Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
 1.5 02-May-2008  martin Fix copy&pasto in license text and move to 2 clause
 1.4 07-Mar-2003  he branches: 1.4.32; 1.4.34;
Rewrite the MD install script to use awk instead of grep, since
trying to include grep in the miniroot currently causes a build
failure, ref. PR#20431.

Also correct a typo/inconsistency "no disk label" -> "no disklabel"
(the disklabel program is not consistent in it's use...), here we
just compensate.

Reviewed by Steve Woodford.
 1.3 16-Aug-2001  tv Use "-t ffs" when remounting rootdev read/write.
 1.2 20-Feb-1999  scw branches: 1.2.10;
Updates for MVME167 support.
 1.1 17-Dec-1997  scw mvme68k miniroot config files
 1.2.10.1 16-Aug-2001  tv Pullup [tv]:

distrib/atari/miniroot/install.md 1.15
distrib/mvme68k/miniroot/install.md 1.3

Use "-t ffs" when remounting rootdev read/write.
 1.4.34.1 18-May-2008  yamt sync with head.
 1.4.32.2 05-Oct-2008  mjf Sync with HEAD.
 1.4.32.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.48.1 10-Jun-2019  christos Sync with HEAD
 1.6.40.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.8.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.26 20-Sep-2024  rin distrib: Adjust for nawk/bin/awk to nawk/bin
 1.25 19-Aug-2024  christos handle awk move
 1.24 22-Apr-2015  christos branches: 1.24.28;
fix awk
 1.23 30-Nov-2013  nakayama nvi has moved.
 1.22 03-Jul-2011  tron branches: 1.22.2; 1.22.8;
Update location of "less" source directory to the build of various
install medias.
 1.21 10-Mar-2010  abs Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
 1.20 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.19 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.18 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.17 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.16 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.15 30-Oct-2008  tsutsui usr.bin/vi/build -> usr.bin/nvi/build
 1.14 02-Apr-2004  he branches: 1.14.26;
Adapt to the replacement of gawk with nawk, source accessible as awk.
 1.13 07-Mar-2003  he branches: 1.13.2;
Rewrite the MD install script to use awk instead of grep, since
trying to include grep in the miniroot currently causes a build
failure, ref. PR#20431.

Also correct a typo/inconsistency "no disk label" -> "no disklabel"
(the disklabel program is not consistent in it's use...), here we
just compensate.

Reviewed by Steve Woodford.
 1.12 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.11 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.10 05-Jun-2002  scw Ensure the miniroot copy of /usr/mdec/installboot is executable.
 1.9 29-May-2002  lukem don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.8 26-Apr-2002  lukem branches: 1.8.2;
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.7 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.6 21-Oct-2001  chs fix to work with obj dirs.
 1.5 02-May-2000  sjg use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.4 08-May-1999  scw Nuke strings(1). It's not required for a miniroot.
 1.3 25-Mar-1999  leo branches: 1.3.2;
- Move the pwd.db & spwd.db files into the list-files of the ports who need
them.
- Use x_dd & x_ifconfig.
 1.2 20-Feb-1999  scw Updates for MVME167 support.
 1.1 17-Dec-1997  scw mvme68k miniroot config files
 1.3.2.1 18-Jun-1999  perry pullup 1.3->1.4 (Steve Woodford): remove strings(1) from list
 1.8.2.2 13-Jun-2002  lukem Pull up revision 1.11 (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.8.2.1 29-May-2002  lukem Pull up revision 1.9 (requested by lukem):
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.13.2.1 05-Apr-2004  tron Pull up revision 1.14 (requested by he in ticket #53):
Adapt to the replacement of gawk with nawk, source accessible as awk.
 1.14.26.1 05-Oct-2008  mjf Sync with HEAD.
 1.22.8.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.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.24.28.1 02-Aug-2025  perseant Sync with HEAD

RSS XML Feed