Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/distrib



Module Name:    src
Committed By:   martin
Date:           Sat Dec 19 19:02:53 UTC 2020

Modified Files:
        src/distrib/amiga/miniroot [netbsd-8]: install.md
        src/distrib/hp300/miniroot [netbsd-8]: install.md
        src/distrib/mac68k/miniroot [netbsd-8]: install.md
        src/distrib/miniroot [netbsd-8]: install.sh install.sub list upgrade.sh
        src/distrib/mvme68k/miniroot [netbsd-8]: install.md
        src/distrib/sun2/miniroot [netbsd-8]: install.md
        src/distrib/sun3/miniroot [netbsd-8]: install.md

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.27.40.1 -r1.27.40.2 src/distrib/amiga/miniroot/install.md
cvs rdiff -u -r1.15 -r1.15.38.1 src/distrib/hp300/miniroot/install.md
cvs rdiff -u -r1.4 -r1.4.56.1 src/distrib/mac68k/miniroot/install.md
cvs rdiff -u -r1.25 -r1.25.40.1 src/distrib/miniroot/install.sh
cvs rdiff -u -r1.45.56.1 -r1.45.56.2 src/distrib/miniroot/install.sub
cvs rdiff -u -r1.35 -r1.35.36.1 src/distrib/miniroot/list
cvs rdiff -u -r1.22 -r1.22.56.1 src/distrib/miniroot/upgrade.sh
cvs rdiff -u -r1.6 -r1.6.40.1 src/distrib/mvme68k/miniroot/install.md
cvs rdiff -u -r1.3 -r1.3.56.1 src/distrib/sun2/miniroot/install.md
cvs rdiff -u -r1.3 -r1.3.56.1 src/distrib/sun3/miniroot/install.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index