Home | History | Annotate | only in /src/distrib/amiga/miniroot
History log of /src/distrib/amiga/miniroot
RevisionDateAuthorComments
 1.21 25-Feb-2021  rin Oops, forgot to commit this. One more adjust for amiga/boot ver 3.1.

Shuold fix build.
 1.20 24-Jan-2017  christos += for MAKEFS_FLAGS
 1.19 13-Dec-2014  phx branches: 1.19.2; 1.19.4;
Extend size of miniroot.fs from 6m to 7m.
 1.18 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.17 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 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 24-Jan-2006  is branches: 1.14.20;
Alas, 5 Megabytes aren't enough any longer.
 1.13 20-Jan-2003  is Increase inode density - we were running out of inodes mid-install after
adding more cd and st devices. Reported by Oliver B. Warzecha when testing
patches to his PR 14356.
 1.12 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.11 25-May-2002  mhitch The miniroot filesystem doesn't have enough inodes for install; add inode
density option for makefs.
 1.10 02-May-2002  lukem branches: 1.10.2;
yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.9 16-Apr-2002  heinz $DESTDIR/boot.amiga was removed from the base set (see distrib/sets/lists/base/
md.amiga 1.49)
 1.8 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.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 12-Feb-2002  is - use explicit VND_GEOM instead of a disktab type, to allow cross-building.
All miniroot size information is now in one (this) file.
- While we're here, increase the miniroot size to 5 MB.
 1.5 17-Dec-2001  mhitch Change to use the new two-stage boot loader when building the miniroot
filesystem.
 1.4 17-Dec-2001  mhitch Fix for changes in using VND.
 1.3 25-Sep-2001  is Don't use target system installboot binary, which is no longer a shell
script.
 1.2 15-Mar-1999  is Add explicit filesystem endianness, to help cross-building releases.
 1.1 09-Sep-1997  is First hack at generic miniroot installation for NetBSD/Amiga.
Needs refinement at a few places, probably, and the docs still need to be
rewritten.
And we _still_ don't have a native partition table editor in the tree.
 1.10.2.3 26-Jan-2003  jmc Pullup revisions 1.12-1.13 (requested by is in ticket #1076)
Increase inode density - we were running out of inodes mid-install after
adding more cd and st devices.
 1.10.2.2 29-May-2002  lukem Pull up revision 1.12 (requested by lukem):
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.10.2.1 25-May-2002  perry resolve 1.6 pullup ticket 21 from mhitch
pulls up revision 1.11
Original commit message:

> The miniroot filesystem doesn't have enough inodes for install; add inode
> density option for makefs.
 1.14.20.1 05-Oct-2008  mjf Sync with HEAD.
 1.19.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.19.2.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 09-Sep-1997  is First hack at generic miniroot installation for NetBSD/Amiga.
Needs refinement at a few places, probably, and the docs still need to be
rewritten.
And we _still_ don't have a native partition table editor in the tree.
 1.2.26.1 05-Oct-2008  mjf Sync with HEAD.
 1.11 28-Aug-2022  tsutsui Avoid more obsolescent binary primaries not supported by crunched test(1).

See PR/54835 and PR/56983 for details.
 1.10 27-Jul-2008  mlelstv branches: 1.10.64;
add missing quote
 1.9 26-Jul-2003  salo branches: 1.9.32; 1.9.36;
netbsd.org->NetBSD.org
 1.8 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.7 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.6 23-Nov-1999  simonb Don't start update.
 1.5 26-Jun-1999  cgd branches: 1.5.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.4 09-Jan-1998  perry branches: 1.4.2;
Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito)
 1.3 21-Nov-1997  is If we're (I)nstalling, add the same loadkmap call we use for the install
script to the end of rc.local.
 1.2 08-Nov-1997  mhitch The amiga tty erase character is ^?, not ^H.
 1.1 09-Sep-1997  is branches: 1.1.2;
First hack at generic miniroot installation for NetBSD/Amiga.
Needs refinement at a few places, probably, and the docs still need to be
rewritten.
And we _still_ don't have a native partition table editor in the tree.
 1.1.2.2 21-Nov-1997  is Sync with trunk: install selected keyboardmap also in installed system.
 1.1.2.1 09-Nov-1997  mellon Pull rev 1.2 up from trunk (mhitch)
 1.4.2.1 26-Jun-1999  cgd pull up rev 1.5 from trunk. (cgd)
 1.5.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.36.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.9.32.2 05-Oct-2008  mjf Sync with HEAD.
 1.9.32.1 28-Sep-2008  mjf Sync with HEAD.
 1.10.64.1 30-Aug-2022  martin Pull up following revision(s) (requested by tsutsui in ticket #1514):

distrib/atari/floppies/common/dot.profile: revision 1.9
distrib/vax/inst-common/dot.commonutils: revision 1.6
distrib/amiga/miniroot/dot.profile: revision 1.11
distrib/utils/script-installer/dot.commonutils: revision 1.8
distrib/amiga/floppies/inst-common/dot.commonutils: revision 1.9

Fix yet another "[: SMALL test, no fallback usage" error on installation.

The same problem as PR/54835 of the miniroot scripts, i.e.
avoid and replace use of -o binary primary marked obsolescent
by POSIX.1-2017:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_12
8_16

Noticed on installation of NetBSD 9.3 on TT030, and
maybe should be pulled up to netbsd-9.

Avoid more obsolescent binary primaries not supported by crunched test(1).

See PR/54835 and PR/56983 for details.
 1.35 28-May-2022  andvar s/hierach/hierarch/
 1.34 02-Nov-2021  abs Update some distrib X11R6 references to X11R7

Some of these scripts and notes may no longer be relevant, but now
they are at least not relevant while referring to the current X
installation directory
 1.33 26-Jun-2021  tsutsui Remove an obsolete comment.
 1.32 25-Feb-2021  rin Oops, forgot to commit this. One more adjust for amiga/boot ver 3.1.

Shuold fix build.
 1.31 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.30 10-Apr-2019  christos branches: 1.30.2;
adjust miniroot scripts to deal with the time prefix in dmesg
 1.29 04-Apr-2019  christos modernize, and avoid -a -o
 1.28 15-Aug-2017  mlelstv branches: 1.28.4;
Ask for the boot command. It's necessary for some hardware
configurations and also to enable a serial console in the installed
system.
 1.27 24-May-2009  mlelstv branches: 1.27.40;
file(1) no longer provides the plain text "magic" database.

change the install.md script to not need file(1) similar to what the
sparc port did.
 1.26 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.25 18-Jan-2006  is branches: 1.25.20; 1.25.22;
Instead of abusing the function md_prep_label(), create a new (optional)
md_view_labels() and a variable to mark its availability, so checking of
the available disklabels can be done before the root device is chosen.
Suggested by Martin Bertelsmann.
 1.24 07-Dec-2005  mhitch Add xetc to the sets list.
 1.23 17-Jan-2004  lukem branches: 1.23.6;
Remove references to xcontrib and xmisc now that they've been merged
into xbase.
 1.22 15-Jan-2003  mhitch Use the MI /usr/sbin/installboot instead of /usr/mdec/installboot.
 1.21 13-Jan-2003  is make this less confusing
 1.20 12-Jan-2003  is Make it work more than one time. The old behaviour was very annoying.
Reviewed by hubertf.
 1.19 23-Jul-2002  mhitch Add support for aout to ELF conversion to install.md, copied from the sparc
miniroot install.md. Add usr/bin/file and usr/share/misc/magic to the
miniroot - used by the install.md changes. Upgrades will now move the
standard a.out shared libraries to /emul/aout.
 1.18 15-Apr-2002  mhitch branches: 1.18.2;
Need to install /boot.amiga when installing/upgrading the bootblocks.
 1.17 02-Mar-2002  mhitch Adjust for change in kernel set naming.
 1.16 17-Dec-2001  mhitch Change to use the new two-stage boot loader when building the miniroot
filesystem.
 1.15 26-Jul-2001  is explicitly use ffs. As we currently are pretty much limited to ffs, for
bootblock reasons, this is ok...
XXX instead, mount should be changed to really guess what type is there, even
on mfs /kern/rootdev.
 1.14 14-Nov-2000  is On upgrades, or on installs where kern.tgz was installed, ask user wether
the installed kernel should be replaced by the miniroot kernel.
 1.13 24-Oct-2000  is When no bootblock is installed, no more action, output etc. is to be
expected, so no need for "...". Pointed out by Petri Koistinen.
 1.12 17-Sep-2000  is Now that we use an INSTALL kernel on the miniroot, give the user the
opportunity to install the GENERIC from kern.tgz.
 1.11 29-Jun-1999  is branches: 1.11.8;
Fix loop termination bug.
Won't try any longer to disklabel /dev/rdonec when exiting the
"look at disk label" loop (in md_prep_disklabel).
 1.10 29-Jun-1999  is Warn user not to use partition c for file systems
 1.9 21-Nov-1997  is branches: 1.9.2;
Get rid of (commented out) remnant of Atari install.md md_prep_disklabel.
Add into ours (which previously did nothing) a loop which allows to look
at the existing disk label.
 1.8 21-Nov-1997  is Offer to install the X11 sets, too.
 1.7 21-Nov-1997  is If we're (I)nstalling, add the same loadkmap call we use for the install
script to the end of rc.local.
 1.6 14-Nov-1997  veego md_native_fsopts don't need a '-', because install.sub use this
variable for '-o $md_native_fsopts'.
marmoset <pygmymarmoset@geocities.com> noticed the problem with
mounting a ados filesystem.
 1.5 31-Oct-1997  mhitch Mount needs -u option to make root writable.
 1.4 29-Oct-1997  mhitch Fix md_installboot() to use the correct arguments for installboot.
 1.3 09-Oct-1997  jtc branches: 1.3.2;
Fix tipo inherited from old version of TNF copyright template.
 1.2 23-Sep-1997  is We don't need md_get_ifdevs any more; install.sub calls ifconfig -l
nowadays.
 1.1 09-Sep-1997  is First hack at generic miniroot installation for NetBSD/Amiga.
Needs refinement at a few places, probably, and the docs still need to be
rewritten.
And we _still_ don't have a native partition table editor in the tree.
 1.3.2.5 21-Nov-1997  is Pullup from trunk:
Allow user to look at the disk labels before creating the fstab (abusing
md_prep_disklabel, which we can't do from inside NetBSD yet).
 1.3.2.4 21-Nov-1997  is Sync with trunk: Offer to install the X11 sets, too.
 1.3.2.3 21-Nov-1997  is Sync with trunk: install selected keyboardmap also in installed system.
 1.3.2.2 14-Nov-1997  veego Pull up rev 1.6 from the trunk:
>md_native_fsopts don't need a '-', because install.sub use this
>variable for '-o $md_native_fsopts'.
>marmoset <pygmymarmoset@geocities.com> noticed the problem with
>mounting a ados filesystem.
 1.3.2.1 31-Oct-1997  mellon Pull rev 1.4 and 1.5 up from trunk (mhitch)
 1.9.2.2 02-Jul-1999  perry pullup 1.10->1.11 (is)
 1.9.2.1 02-Jul-1999  perry pullup 1.9->1.10 (is): warn users not to use partition c
 1.11.8.4 29-Jul-2001  he Pull up revision 1.15 (requested by is):
Workaround for the changed ``mount'' behaviour, which no longer
defaults to ``ffs'' in certain circumstances.
 1.11.8.3 15-Nov-2000  tv Pullup 1.14 [is]:
On upgrades, or on installs where kern.tgz was installed, ask user wether
the installed kernel should be replaced by the miniroot kernel.
 1.11.8.2 30-Oct-2000  tv Pullup 1.13 [is]:
When no bootblock is installed, no more action, output etc. is to be
expected, so no need for "...". Pointed out by Petri Koistinen.
 1.11.8.1 17-Oct-2000  tv Pullup 1.12 [is]:
Now that we use an INSTALL kernel on the miniroot, give the user the
opportunity to install the GENERIC from kern.tgz.
 1.18.2.2 26-Jan-2003  jmc Pullup revisions 1.19-1.20 (requested by is in ticket #1071)
Make it work more than one time. The old behaviour was very annoying.
 1.18.2.1 23-Jul-2002  lukem Pull up revision 1.19 (requested by mhitch in ticket #538):
Add support for aout to ELF conversion to install.md, copied from the sparc
miniroot install.md. Add usr/bin/file and usr/share/misc/magic to the
miniroot - used by the install.md changes. Upgrades will now move the
standard a.out shared libraries to /emul/aout.
 1.23.6.2 27-Jan-2006  tron Pull up following revision(s) (requested by is in ticket #1130):
distrib/miniroot/install.sh: revision 1.23
distrib/miniroot/upgrade.sh: revision 1.21
distrib/amiga/miniroot/install.md: revision 1.25
Instead of abusing the function md_prep_label(), create a new (optional)
md_view_labels() and a variable to mark its availability, so checking of
the available disklabels can be done before the root device is chosen.
Suggested by Martin Bertelsmann.
 1.23.6.1 15-Dec-2005  tron branches: 1.23.6.1.2;
Pull up following revision(s) (requested by mhitch in ticket #1043):
distrib/amiga/miniroot/install.md: revision 1.24
Add xetc to the sets list.
 1.23.6.1.2.1 27-Jan-2006  tron Pull up following revision(s) (requested by is in ticket #1130):
distrib/miniroot/install.sh: revision 1.23
distrib/miniroot/upgrade.sh: revision 1.21
distrib/amiga/miniroot/install.md: revision 1.25
Instead of abusing the function md_prep_label(), create a new (optional)
md_view_labels() and a variable to mark its availability, so checking of
the available disklabels can be done before the root device is chosen.
Suggested by Martin Bertelsmann.
 1.25.22.1 18-May-2008  yamt sync with head.
 1.25.20.2 05-Oct-2008  mjf Sync with HEAD.
 1.25.20.1 02-Jun-2008  mjf Sync with HEAD.
 1.27.40.2 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.27.40.1 23-Sep-2017  snj Pull up following revision(s) (requested by mlelstv in ticket #275):
distrib/amiga/miniroot/install.md: revision 1.28
distrib/miniroot/install.sub: revision 1.46
distrib/notes/amiga/install: revision 1.36
sys/arch/amiga/amiga/disksubr.c: revision 1.68
Support installing from a CD9660 formatted disk partition.
--
Fix check of AmigaDOS environment vector for nonstandard disklabel values.
Don't set a default fsize for CD9660 partitions, the CD9660 filesystem
interprets it as a session offset.
--
Ask for the boot command. It's necessary for some hardware
configurations and also to enable a serial console in the installed
system.
--
Mention the installer question for the boot command.
 1.28.4.1 10-Jun-2019  christos Sync with HEAD
 1.30.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.25 30-Nov-2013  nakayama nvi has moved.
 1.24 11-Feb-2010  roy branches: 1.24.6; 1.24.12;
Remove terminfo.db as it's now embedded in libterminfo.
 1.23 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.22 02-Jan-2010  tsutsui Remove LIBS -lz which is already in distrib/miniroot/list.
 1.21 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.20 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.19 24-May-2009  mlelstv file(1) no longer provides the plain text "magic" database.

change the install.md script to not need file(1) similar to what the
sparc port did.
 1.18 30-Oct-2008  tsutsui usr.bin/vi/build -> usr.bin/nvi/build
 1.17 23-Jul-2002  mhitch branches: 1.17.32;
Add support for aout to ELF conversion to install.md, copied from the sparc
miniroot install.md. Add usr/bin/file and usr/share/misc/magic to the
miniroot - used by the install.md changes. Upgrades will now move the
standard a.out shared libraries to /emul/aout.
 1.16 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.15 16-Apr-2002  heinz branches: 1.15.2;
$DESTDIR/boot.amiga was removed from the base set (see distrib/sets/lists/base/
md.amiga 1.49).
 1.14 10-Apr-2002  lukem Need an MTREE entry for usr/share/keymaps.
Highlighted by Klaus Heinz <klaus.heinz@onlinehome.de> on tech-install@
 1.13 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.12 17-Dec-2001  mhitch Change to use the new two-stage boot loader when building the miniroot
filesystem.
 1.11 19-Sep-2000  is Fix comment: install kernel, not GENERIC.
 1.10 17-Sep-2000  is Use INSTALL kernel instead of GENERIC for miniroot.
 1.9 02-May-2000  sjg branches: 1.9.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.8 04-Jul-1999  mrg - back out previous for amiga/miniroot/list because:
- sparc now creates /kern in the 'list' file like the amiga, atari,
mvme68k and pmax ports, and:
- remove /kern from miniroot/mtree.conf
 1.7 04-Jul-1999  is Compensate for the addition of /kern to the MI mtree file.
 1.6 25-Mar-1999  leo branches: 1.6.2;
- Move the pwd.db & spwd.db files into the list-files of the ports who need
them.
- Use x_dd & x_ifconfig.
 1.5 21-Nov-1997  is Get rid of (commented out) remnant of Atari install.md md_prep_disklabel.
Add into ours (which previously did nothing) a loop which allows to look
at the existing disk label.
 1.4 08-Nov-1997  mhitch The atari miniroot upgrade didn't need the network configuration files, but
we do on the amiga. Add back the SYMLINKs needed to enable the network.
Remove a couple of [commented out] atari-specific lines.
 1.3 21-Sep-1997  chopps branches: 1.3.2;
use different path to grab kernel
 1.2 19-Sep-1997  chopps fix paths, should be relative
 1.1 09-Sep-1997  is First hack at generic miniroot installation for NetBSD/Amiga.
Needs refinement at a few places, probably, and the docs still need to be
rewritten.
And we _still_ don't have a native partition table editor in the tree.
 1.3.2.2 21-Nov-1997  is Pullup from trunk:
Allow user to look at the disk labels before creating the fstab (abusing
md_prep_disklabel, which we can't do from inside NetBSD yet).
 1.3.2.1 09-Nov-1997  mellon Pull rev 1.4 up from trunk (mhitch)
 1.6.2.2 05-Jul-1999  perry undo pullup 1.6->1.7 (is): the last was a mistake
 1.6.2.1 05-Jul-1999  perry pullup 1.6->1.7 (is)
 1.9.4.3 19-Sep-2000  is Pullup from -current, requested by is, granted by thorpej: list 1.10
Use INSTALL kernel instead of GENERIC for miniroot.
 1.9.4.2 17-Sep-2000  is Last change was committed by accident. Revert it to 1.9.
 1.9.4.1 17-Sep-2000  is Now that we use an INSTALL kernel on the miniroot, give the user the
opportunity to install the GENERIC from kern.tgz.
 1.15.2.2 23-Jul-2002  lukem Pull up revision 1.17 (requested by mhitch in ticket #538):
Add support for aout to ELF conversion to install.md, copied from the sparc
miniroot install.md. Add usr/bin/file and usr/share/misc/magic to the
miniroot - used by the install.md changes. Upgrades will now move the
standard a.out shared libraries to /emul/aout.
 1.15.2.1 29-May-2002  lukem Pull up revision 1.16 (requested by lukem):
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.17.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.24.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.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.2 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

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

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.1 09-Sep-1997  is branches: 1.1.46;
First hack at generic miniroot installation for NetBSD/Amiga.
Needs refinement at a few places, probably, and the docs still need to be
rewritten.
And we _still_ don't have a native partition table editor in the tree.
 1.1.46.1 05-Oct-2008  mjf Sync with HEAD.

RSS XML Feed