| History log of /src/distrib/miniroot/install.sub |
| Revision | | Date | Author | Comments |
| 1.66 |
| 11-May-2024 |
andvar | s/timestemps/timestamps/ in comments.
|
| 1.65 |
| 29-Jul-2023 |
tsutsui | No need to ask whether to use the TCP option on NFS mount.
TCP mount has been default since NetBSD 9.0.
|
| 1.64 |
| 30-Dec-2022 |
andvar | s/succes/success/ in comments.
|
| 1.63 |
| 13-Mar-2022 |
andvar | fix few typos in comments and output message.
|
| 1.62 |
| 19-Jun-2021 |
tsutsui | The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.
|
| 1.61 |
| 19-Jun-2021 |
tsutsui | Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago. http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5
|
| 1.60 |
| 29-May-2021 |
tsutsui | Handle recent ifconfig(8) outputs in the miniroot installation script.
- Remove netmask slash notation for IP addresses, which has been changed between NetBSD 7.x and 8.0: http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ifconfig/af_inet.c#rev1.24 - Ignore inet6 entries, which miniroot scripts don't support
Should be pulled up to netbsd-9 and netbsd-8.
|
| 1.59 |
| 12-Dec-2020 |
tsutsui | branches: 1.59.2; 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.58 |
| 05-Dec-2020 |
tsutsui | Inform the default installation directory in the official ftp server.
|
| 1.57 |
| 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.56 |
| 05-Dec-2020 |
tsutsui | 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.
|
| 1.55 |
| 05-Dec-2020 |
tsutsui | 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.
|
| 1.54 |
| 05-Dec-2020 |
tsutsui | Add modules set for default sets on miniroot installation.
Should be pulled up to netbsd-9 and netbsd-8.
|
| 1.53 |
| 19-Jan-2020 |
kre | 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.
|
| 1.52 |
| 19-Jan-2020 |
kre | 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.
|
| 1.51 |
| 12-Jan-2020 |
tsutsui | 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.
|
| 1.50 |
| 12-Jan-2020 |
tsutsui | Fix miniroot installation failure on network configuration. PR/54833
No particular comment in the PR. Should be pulled up to netbsd-9.
|
| 1.49 |
| 02-Oct-2019 |
maya | Split out /rescue to its own set and adapt installers/images to add it.
This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from.
|
| 1.48 |
| 10-Apr-2019 |
christos | branches: 1.48.2; adjust miniroot scripts to deal with the time prefix in dmesg
|
| 1.47 |
| 04-Apr-2019 |
christos | eXorcize and `` -> $()
|
| 1.46 |
| 15-Aug-2017 |
mlelstv | branches: 1.46.4; Support installing from a CD9660 formatted disk partition.
|
| 1.45 |
| 30-Apr-2008 |
martin | branches: 1.45.56; Convert TNF licenses to new 2 clause variant
|
| 1.44 |
| 24-Apr-2006 |
snj | branches: 1.44.20; 1.44.22; It's "its."
|
| 1.43 |
| 12-Jun-2002 |
bouyer | If it exists, source /mnt/etc/defaults/rc.conf before /mnt/etc/rc.conf, so that upgrade.sh gets all the parameters in its initialisation phase.
|
| 1.42 |
| 23-May-2002 |
nathanw | Tell the user consistently that time zone files are in /usr/share/zoneinfo, rather than that in one place and /usr/share/timezone in another.
|
| 1.41 |
| 18-Apr-2002 |
fredette | branches: 1.41.2; Fixed a spelling mistake.
|
| 1.40 |
| 17-Dec-2001 |
fredette | Added support for uncompressed sets. When doing a UDP NFS mount, ask if "small transfers" (i.e., -r 1024 -w 1024) should be used; this is necessary when the client and/or server has a feeble network card.
|
| 1.39 |
| 22-Nov-2000 |
abs | Handle hostname being set in /mnt/etc/rc.conf
|
| 1.38 |
| 14-Nov-2000 |
is | Finish the old job of makeing this work with media-less interfaces, e.g. bah or amiga if_es.
|
| 1.37 |
| 30-Oct-2000 |
is | Fix typo, pointed out privately by Petri Koistinen.
|
| 1.36 |
| 03-Sep-2000 |
pk | Use `nlist' to get the set list from ftp.
|
| 1.35 |
| 13-May-2000 |
lukem | branches: 1.35.4; remove netstart
|
| 1.34 |
| 11-Apr-2000 |
pk | Make FQDN optional (PR#9823).
|
| 1.33 |
| 20-Feb-2000 |
mrg | add an option to disable the -v flag to pax, that a SPARC framebuffer console user might very much like.
|
| 1.32 |
| 04-Feb-2000 |
pk | get_localdir: fix variable use in error message (PR#8913) + clarify expected input.
|
| 1.31 |
| 07-Oct-1999 |
sjg | install_sets(): If Default_sets_dir is set to a directory that contains THESETS then set local_sets_dir to it so that install_from_mounted_fs() gets called straight away. install_from_mounted_fs(): if the passed dirname contains THESETS don't bother/confuse the user by asking him where they are.
|
| 1.30 |
| 28-Jun-1999 |
mrg | branches: 1.30.2; allow installing sets from already-mounted directory. fixes PR#6313
|
| 1.29 |
| 27-Jun-1999 |
mrg | miniroot changes: install.sub: - fix interface grovelling, ifmedia support, allow ifmedia and link to have a "none" (-> "") answer (which lets you give nothing when a default answer is given) - allow installing more than one set at a time, including "all" as a synonym for all remaining sets - mount -o async when extracting sets makeconf.awk: - put default "libs" section at the end rather than the start, so you can put other "libs" in before this list - minor cleanup
mtree.conf: - create /kern
sparc install.md: - MDSETS are now "kern xbase xcomp xcontrib xfont xserver" - use /kern & kernfs (replaces dmesg) - replace grep & cut pipe lines with sed - replace grep hackery with sed hackery - grep and cut are no longer required! yay! - deal with no /usr/bin/vi -- call disklabel -i - in md_copy_kern() link the netbsd.GENERIC we got from the kern set, rather than the miniroot kernel sparc miniroot list: - no more dmesg, cut or grep
sparc ramdisk changes: Makefile: - `ramdiskbin.conf' is now generated by makeconf.awk - don't use libhack's opendir, it breaks dot.profile: - don't assume terminal is `sun' - set EDITOR=ed - list: - instbin -> ramdiskbin to make `makeconf.awk' work - CRUNCHSPECIAL those special dirs - add our LIBS as necessary
libhack changes: - if NOLIBHACKOPENDIR is set, don't build opendir.o
|
| 1.28 |
| 16-May-1999 |
is | - make empty media options with non-empty other interface options work. - use media options for the install program as well as for the future installation.
|
| 1.27 |
| 02-May-1999 |
is | Fix an old typo (or rather, an old failure to fully adapt copied code's prompt text to the new location): for ftp, we build a list and extract all at once afterwards.
|
| 1.26 |
| 26-Apr-1999 |
is | Disable line editing for the ftp-scripts. Apparently, this is what makes ftp installs work again.
|
| 1.25 |
| 25-Jan-1999 |
garbled | branches: 1.25.2; 1) Remove all vestiges of tar from src/distrib. Use pax and appropriate commandlines for all tar operations. (work supplied by Matt Green) 2) Update arch/*/md.c to deal with new sysinst/run.c. Special case anything that needs to do a redirect or a pipe. 3) #if 0 some unused code in target.c. This code will need to be updated, or special cased with do_system.
Big thank you to Matt for all his work on this.
|
| 1.24 |
| 12-Nov-1997 |
pk | Previous sync with `etc/netstart' was not complete.
|
| 1.23 |
| 10-Nov-1997 |
pk | Check `auto_ifconfig' rc.conf variable, per Michael Hitch.
|
| 1.22 |
| 09-Oct-1997 |
jtc | branches: 1.22.2; Fix tipo inherited from old version of TNF copyright template.
|
| 1.21 |
| 25-Sep-1997 |
leo | Refurbish the ftp_install function: - it now tries to find out if there are files that look like install sets in the remote directory. - it is possible to change to another directory when there are no things like install-sets around. - you can even get a directory listing while trying to find the correct directory (wow ;-) - when the correct directory is found, you can tag the sets you want to extract (like in all(?) other cases). The only difference is that the get-install sequence is batched.
There is still plenty of room for improvement, but it's getting workable.
|
| 1.20 |
| 09-Sep-1997 |
is | More changes, while working on Amiga generic miniroot stuff: - added method BOOTINSTALL, for an architecture to optionally install a bootblock in the miniroot (this works for Amiga) - added Amiga keymap directories - removed the subdir selection from mount_local_disk() and mount_nfs(), and the remains from mount_cdrom(), as all are handled now by the subdir navigator in mount_from_installed_fs()
|
| 1.19 |
| 08-Sep-1997 |
pk | Do not present media type `manual' as a default choice.
|
| 1.18 |
| 07-Sep-1997 |
is | - add support for split sets (like: base12G.aa ... base12G.bq) - add a subdirectory navigator for moving around in mounted CD-ROMs and disk or network partitions. Still a bit rough: should have explicit ".." support.
|
| 1.17 |
| 01-Sep-1997 |
is | Fix type (_fstype vs. _filesystem); and use partition "a" on CD as default.
|
| 1.16 |
| 01-May-1997 |
pk | * ftp setup: don't echo password * network interface configuration: - use new ifconfig(8) capabilities - adapt to changed ifconfig(8) output - use new config files (ifconfig.xxn)
|
| 1.15 |
| 10-Oct-1996 |
gwr | Merge the netbsd-1-2 branch back into the mainline.
|
| 1.14 |
| 04-Jul-1996 |
leo | Re-arrange install_disk() a bit. The code to mount a disk is pulled out so it can also be used from other functions.
|
| 1.13 |
| 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.12 |
| 26-Jun-1996 |
pk | Do not present previously skipped sets as default again.
|
| 1.11 |
| 26-Jun-1996 |
pk | Pull up changes from release branch (rename `install_common_cdrom_nfs').
|
| 1.10 |
| 25-Jun-1996 |
thorpej | Fix a couple of typos.
|
| 1.9 |
| 19-Jun-1996 |
pk | Typos I thought I killed before.
|
| 1.8 |
| 18-Jun-1996 |
pk | Insert filesystem type in munge_fstab. Don't `ifconfig down' an active network interface (bad for diskless setup); but use it to cull default IP address and netmask.
|
| 1.7 |
| 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.6 |
| 27-May-1996 |
leo | Sync atari miniroot & mi-miniroot
|
| 1.5 |
| 21-May-1996 |
pk | branches: 1.5.2; Add a `install_disk' option (copied from Atari miniroot). Make editor configurable (variable EDITOR, also usable by disklabel(8)). Move disklabel(8) calls into `md_prep_label()'. Eliminate two uses of `sed'. Eliminate `awk' in upgrade.sh.
|
| 1.4 |
| 21-May-1996 |
pk | kill some more awks
|
| 1.3 |
| 20-May-1996 |
pk | There's life after awk. Replace awk scripts with shell function equivalents (inspired by Leo's atari scripts).
|
| 1.2 |
| 28-Feb-1996 |
thorpej | Copyright assigned to The NetBSD Foundation.
|
| 1.1 |
| 06-Jan-1996 |
pk | MI install and upgrade scripts.
|
| 1.5.2.8 |
| 02-Sep-1996 |
pk | Allow additional link-layer directives to be entered in `configure_ifs()'.
|
| 1.5.2.7 |
| 26-Aug-1996 |
gwr | Replace do_mfs_mount with md_makerootwritable (On some ports it is easier to remount root.)
|
| 1.5.2.6 |
| 04-Jul-1996 |
leo | Pull up from trunk.
|
| 1.5.2.5 |
| 27-Jun-1996 |
pk | Pull down from trunk: > Deal with install sets in `install_from_mounted_fs()' differently.
|
| 1.5.2.4 |
| 26-Jun-1996 |
pk | Pull down from trunk: > rev 1.12: do not present previously skipped sets as default again.
|
| 1.5.2.3 |
| 25-Jun-1996 |
thorpej | Update from trunk:
Fix a couple of typos.
|
| 1.5.2.2 |
| 20-Jun-1996 |
pk | Rename `install_common_cd_nfs' to `install_from_mounted_fs'
|
| 1.5.2.1 |
| 20-Jun-1996 |
pk | Sync with trunk.
|
| 1.22.2.1 |
| 12-Nov-1997 |
pk | Sync with trunk.
|
| 1.25.2.5 |
| 04-Feb-2000 |
he | Pull up revision 1.32 (requested by pk): Display meaningful error message in get_localdir() and clarify the expected input.
|
| 1.25.2.4 |
| 02-Jul-1999 |
perry | pullup 1.29->1.30 (mrg)
|
| 1.25.2.3 |
| 01-Jul-1999 |
perry | pullup 1.28->1.29 (mrg)
|
| 1.25.2.2 |
| 18-Jun-1999 |
perry | pullup 1.27->1.28 (is): media options on sh-miniroot install
|
| 1.25.2.1 |
| 26-Apr-1999 |
perry | pullup 1.25->1.26 (is): make ftp installs work again
|
| 1.30.2.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.35.4.3 |
| 15-Nov-2000 |
tv | Pullup 1.38 [is]: Finish the old job of makeing this work with media-less interfaces, e.g. bah or amiga if_es.
|
| 1.35.4.2 |
| 30-Oct-2000 |
tv | Pullup 1.37 [is]: Fix typo, pointed out privately by Petri Koistinen.
|
| 1.35.4.1 |
| 11-Sep-2000 |
is | pullup from trunk, requested by is, granted by thorpej: install.sub 1.36: make ftp install work with the changed ftp
|
| 1.41.2.1 |
| 13-Jun-2002 |
lukem | Pull up revision 1.43 (requested by bouyer in ticket #255): If it exists, source /mnt/etc/defaults/rc.conf before /mnt/etc/rc.conf, so that upgrade.sh gets all the parameters in its initialisation phase.
|
| 1.44.22.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.44.20.2 |
| 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.44.20.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.45.56.4 |
| 25-Jun-2021 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1686):
distrib/sun3/miniroot/Makefile: revision 1.50 distrib/miniroot/install.sub: revision 1.61 distrib/miniroot/install.sub: revision 1.62 (patch) distrib/sun2/miniroot/Makefile: revision 1.40
Replace RELEASE and VERSION strings proplery. sun2 and sun3 don't use MI src/distrib/miniroot/list so this should have been sync'ed with it.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36 > 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).
Should be pulled up to netbsd-9.
Remove netstat(1) calls to print resolver info on upgrade using miniroot. netstat(1) was removed from miniroot 25 years ago. http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5
The modules and rescue sets are also required on upgrade. Should be pulled up to netbsd-9 and netbsd-8.
|
| 1.45.56.3 |
| 05-Jun-2021 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1681):
distrib/miniroot/install.sub: revision 1.60
Handle recent ifconfig(8) outputs in the miniroot installation script.
- Remove netmask slash notation for IP addresses, which has been changed between NetBSD 7.x and 8.0: http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ifconfig/af_inet.c#rev1.24
- Ignore inet6 entries, which miniroot scripts don't support
Should be pulled up to netbsd-9 and netbsd-8.
|
| 1.45.56.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.45.56.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.46.4.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.46.4.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.46.4.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.48.2.6 |
| 25-Jun-2021 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1310):
distrib/sun3/miniroot/Makefile: revision 1.50 distrib/miniroot/install.sub: revision 1.61 distrib/miniroot/install.sub: revision 1.62 distrib/sun2/miniroot/Makefile: revision 1.40
Replace RELEASE and VERSION strings proplery. sun2 and sun3 don't use MI src/distrib/miniroot/list so this should have been sync'ed with it.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36 > 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).
Should be pulled up to netbsd-9.
Remove netstat(1) calls to print resolver info on upgrade using miniroot. netstat(1) was removed from miniroot 25 years ago. http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5
The modules and rescue sets are also required on upgrade. Should be pulled up to netbsd-9 and netbsd-8.
|
| 1.48.2.5 |
| 05-Jun-2021 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1281):
distrib/miniroot/install.sub: revision 1.60
Handle recent ifconfig(8) outputs in the miniroot installation script.
- Remove netmask slash notation for IP addresses, which has been changed between NetBSD 7.x and 8.0: http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ifconfig/af_inet.c#rev1.24
- Ignore inet6 entries, which miniroot scripts don't support
Should be pulled up to netbsd-9 and netbsd-8.
|
| 1.48.2.4 |
| 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.48.2.3 |
| 21-Jan-2020 |
martin | Pull up following revision(s) (requested by kre in ticket #632):
distrib/miniroot/install.sub: revision 1.52
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.
|
| 1.48.2.2 |
| 21-Jan-2020 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #622):
distrib/miniroot/install.sub: revision 1.50 distrib/miniroot/install.sub: revision 1.51
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.
|
| 1.48.2.1 |
| 17-Nov-2019 |
martin | Pull up following revision(s) (requested by maya in ticket #435):
distrib/sets/maketars: revision 1.90 usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2 usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3 usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3 usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3 distrib/sun3/MakeInstTape: revision 1.3 usr.sbin/sysinst/util.c: revision 1.33 distrib/sets/lists/rescue/mi: revision 1.1 distrib/sets/lists/base/rescue.sun2: file removal usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3 distrib/sets/lists/base/rescue.ad.m68k.shl: file removal distrib/sets/regpkgset: revision 1.13 usr.sbin/sysinst/arch/i386/md.h: revision 1.7 distrib/sets/lists/base/rescue.sparc: file removal distrib/notes/mvme68k/xfer: revision 1.19 distrib/sets/sets.subr: revision 1.187 distrib/common/bootimage/Makefile.bootimage: revision 1.22 usr.sbin/sysinst/msg.mi.de: revision 1.16 usr.sbin/sysinst/arch/atari/md.h: revision 1.3 rescue/Makefile: revision 1.38 distrib/sets/lists/base/rescue.macppc: file removal usr.sbin/sysinst/arch/arc/md.h: revision 1.4 distrib/miniroot/install.sub: revision 1.49 usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3 usr.sbin/sysinst/arch/x68k/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3 usr.sbin/sysinst/arch/bebox/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2 distrib/sets/lists/base/rescue.shark: file removal usr.sbin/sysinst/arch/emips/md.h: revision 1.5 distrib/utils/embedded/mkimage: revision 1.70 usr.sbin/sysinst/arch/shark/md.h: revision 1.3 usr.sbin/sysinst/arch/pmax/md.h: revision 1.4 usr.sbin/sysinst/arch/amiga/md.h: revision 1.4 usr.sbin/sysinst/arch/hp300/md.h: revision 1.5 rescue/list.ldconfig: file removal distrib/sets/lists/base/rescue.ad.m68k: file removal usr.sbin/sysinst/arch/prep/md.h: revision 1.4 usr.sbin/sysinst/arch/cats/md.h: revision 1.4 usr.sbin/sysinst/arch/amd64/md.h: revision 1.7 usr.sbin/sysinst/msg.mi.es: revision 1.17 usr.sbin/sysinst/msg.mi.fr: revision 1.20 usr.sbin/sysinst/msg.mi.pl: revision 1.23 distrib/sets/lists/base/rescue.i386: file removal usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3 distrib/sets/lists/base/rescue.vax: file removal distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12 usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3 distrib/sets/lists/base/rescue.mi: file removal distrib/sets/README: revision 1.14 usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4 distrib/sets/lists/base/rescue.sparc64: file removal distrib/sets/lists/base/rescue.mi: revision 1.45 distrib/sets/lists/base/rescue.mi: revision 1.46 usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4 usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4 distrib/sets/lists/base/rescue.ad.arm: file removal distrib/sets/lists/base/rescue.mac68k: file removal usr.sbin/sysinst/defs.h: revision 1.45 usr.sbin/sysinst/arch/landisk/md.h: revision 1.2 distrib/notes/atari/xfer: revision 1.17 etc/Makefile: revision 1.441 usr.sbin/sysinst/msg.mi.en: revision 1.22 distrib/sun2/MakeInstTape: revision 1.2
Remove ldconfig from /rescue, and mark it MI obsolete. - ldconfig in netbsd refers to a.out binaries only. We've been ELF-only since NetBSD 2.0 or so, and having it in /rescue served little purpose even before that, as /rescue is standalone. - Using MI obsolete to avoid the need for MD set lists where ldconfig is the sole entry
Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD rescue set list files.
Split out /rescue to its own set and adapt installers/images to add it.
This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from.
|
| 1.59.2.1 |
| 31-May-2021 |
cjep | sync with head
|