| History log of /src/distrib/miniroot/upgrade.sh |
| Revision | | Date | Author | Comments |
| 1.24 |
| 04-Apr-2019 |
christos | eXorcize and `` -> $()
|
| 1.23 |
| 16-Sep-2018 |
kre | Remove uses of test ... -a ... and test ... -o ...
|
| 1.22 |
| 30-Apr-2008 |
martin | branches: 1.22.56; 1.22.62; 1.22.64; Convert TNF licenses to new 2 clause variant
|
| 1.21 |
| 18-Jan-2006 |
is | branches: 1.21.20; 1.21.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.20 |
| 17-Nov-2000 |
pk | branches: 1.20.8; 1.20.12; Allow for an optional MD upgrade preparation routine.
|
| 1.19 |
| 02-Nov-1999 |
sjg | branches: 1.19.6; make sure . install.sub etc work regardless of PATH
|
| 1.18 |
| 13-Apr-1999 |
pk | branches: 1.18.2; Identify binaries that were moved or removed between 1.3 and 1.4
|
| 1.17 |
| 12-Apr-1999 |
is | Actually use MDSETS, so that ports can install the x sets if useful
|
| 1.16 |
| 24-Jan-1998 |
veego | branches: 1.16.2; Back out the ipnat static change.
|
| 1.15 |
| 23-Jan-1998 |
veego | Add new RELOCATED_FILES_14 because ipnat moved from /usr/sbin to /sbin.
|
| 1.14 |
| 12-Nov-1997 |
pk | Fix typo.
|
| 1.13 |
| 03-Nov-1997 |
pk | Add `nfsd' and `nfsiod' to the list of relocated files.
|
| 1.12 |
| 09-Oct-1997 |
jtc | branches: 1.12.2; Fix tipo inherited from old version of TNF copyright template.
|
| 1.11 |
| 05-Aug-1997 |
pk | Add mountd to thelist of moving files.
|
| 1.10 |
| 22-Jun-1997 |
pk | Don't bother with initializing `RELOCATED_FILES_13' to the empty string.
|
| 1.9 |
| 20-Jun-1997 |
pk | Add a list of files (tagged with release number) that have shifted locations since the last release. These files are removed if the upgrade sets installed them in the new locations.
|
| 1.8 |
| 09-Oct-1996 |
jtc | merge in 1.2 branch
|
| 1.7 |
| 25-Aug-1996 |
pk | Pull up fstab changes from 1.2 branch.
|
| 1.6 |
| 27-Jun-1996 |
pk | Deal with install sets in `install_from_mounted_fs()' differently. The sets are passed around in a global variable. Remember installed sets across loads from different media.
|
| 1.5 |
| 30-May-1996 |
leo | * Edit VERSION into install.sub while copying instead of using a VERSION file. * Set the EDITOR variable in install.sub, so it will be set in both upgrade & install. * Make the checks on the presence of installation sets on the local disks on upgrade more precise. * Remove more&less from the list of standard binaries (I need more space!) * When building an fstab from the users' fstab, drop lines starting with a '#' and lines with an fstype that is not supported on the miniroot.
|
| 1.4 |
| 27-May-1996 |
pk | Two small optimizations: no need for sed to convert fstab.
|
| 1.3 |
| 27-May-1996 |
leo | Sync atari miniroot & mi-miniroot
|
| 1.2 |
| 28-Feb-1996 |
thorpej | branches: 1.2.4; Copyright assigned to The NetBSD Foundation.
|
| 1.1 |
| 06-Jan-1996 |
pk | MI install and upgrade scripts.
|
| 1.2.4.5 |
| 27-Aug-1996 |
gwr | Initialize THESETS just after dotting in install.sub
|
| 1.2.4.4 |
| 26-Aug-1996 |
gwr | Replace do_mfs_mount with md_makerootwritable (On some ports it is easier to remount root.)
|
| 1.2.4.3 |
| 25-Aug-1996 |
pk | Clear up some fstab confusion.
|
| 1.2.4.2 |
| 27-Jun-1996 |
pk | Pull down from trunk: > Deal with install sets in `install_from_mounted_fs()' differently.
|
| 1.2.4.1 |
| 20-Jun-1996 |
pk | Sync with trunk.
|
| 1.12.2.2 |
| 12-Nov-1997 |
pk | Sync with trunc.
|
| 1.12.2.1 |
| 12-Nov-1997 |
pk | Sync with trunk.
|
| 1.16.2.2 |
| 13-Apr-1999 |
pk | Pullup rev 1.18 from trunk.
|
| 1.16.2.1 |
| 13-Apr-1999 |
is | Pullup from -current: actually use the $MDSETS variable, so that individual ports can choose to (e.g.) install the x sets if they want to.
|
| 1.18.2.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.19.6.1 |
| 28-Nov-2000 |
tv | Pullup 1.20 [pk]: Allow for an optional MD upgrade preparation routine. [releng: does not affect any already built miniroots; dependent on new MD supplied option]
|
| 1.20.12.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.20.8.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.21.22.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.21.20.2 |
| 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.21.20.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.22.64.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.22.62.1 |
| 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
| 1.22.56.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.
|