NetBSD/distrib/mvme68k/miniroot
martin cfffa7b295 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.
2020-12-19 19:02:52 +00:00
..
Makefile.inc += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
dot.profile
install.md Pull up following revision(s) (requested by tsutsui in ticket #1639): 2020-12-19 19:02:52 +00:00
list