History log of /netbsd-current/distrib/miniroot/upgrade.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.24 04-Apr-2019 christos

eXorcize and `` -> $()


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 1.23 16-Sep-2018 kre

Remove uses of test ... -a ... and test ... -o ...


Revision tags: pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.22 30-Apr-2008 martin

branches: 1.22.62;
Convert TNF licenses to new 2 clause variant


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 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.


Revision tags: netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.20 17-Nov-2000 pk

branches: 1.20.8; 1.20.12;
Allow for an optional MD upgrade preparation routine.


Revision tags: netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 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


Revision tags: netbsd-1-4-base
# 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.


Revision tags: netbsd-1-3-base
# 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


Revision tags: netbsd-1-2-base
# 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.22 30-Apr-2008 martin

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 16-Nov-2000 pk

branches: 1.20.8; 1.20.12;
Allow for an optional MD upgrade preparation routine.


# 1.19 01-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 11-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 08-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 27-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 11-Nov-1997 pk

Sync with trunc.


# 1.12.2.1 11-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.