| History log of /src/distrib/amiga/miniroot/install.md |
| Revision | | Date | Author | Comments |
| 1.35 |
| 28-May-2022 |
andvar | s/hierach/hierarch/
|
| 1.34 |
| 02-Nov-2021 |
abs | Update some distrib X11R6 references to X11R7
Some of these scripts and notes may no longer be relevant, but now they are at least not relevant while referring to the current X installation directory
|
| 1.33 |
| 26-Jun-2021 |
tsutsui | Remove an obsolete comment.
|
| 1.32 |
| 25-Feb-2021 |
rin | Oops, forgot to commit this. One more adjust for amiga/boot ver 3.1.
Shuold fix build.
|
| 1.31 |
| 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.30 |
| 10-Apr-2019 |
christos | branches: 1.30.2; adjust miniroot scripts to deal with the time prefix in dmesg
|
| 1.29 |
| 04-Apr-2019 |
christos | modernize, and avoid -a -o
|
| 1.28 |
| 15-Aug-2017 |
mlelstv | branches: 1.28.4; Ask for the boot command. It's necessary for some hardware configurations and also to enable a serial console in the installed system.
|
| 1.27 |
| 24-May-2009 |
mlelstv | branches: 1.27.40; file(1) no longer provides the plain text "magic" database.
change the install.md script to not need file(1) similar to what the sparc port did.
|
| 1.26 |
| 30-Apr-2008 |
martin | Convert TNF licenses to new 2 clause variant
|
| 1.25 |
| 18-Jan-2006 |
is | branches: 1.25.20; 1.25.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.24 |
| 07-Dec-2005 |
mhitch | Add xetc to the sets list.
|
| 1.23 |
| 17-Jan-2004 |
lukem | branches: 1.23.6; Remove references to xcontrib and xmisc now that they've been merged into xbase.
|
| 1.22 |
| 15-Jan-2003 |
mhitch | Use the MI /usr/sbin/installboot instead of /usr/mdec/installboot.
|
| 1.21 |
| 13-Jan-2003 |
is | make this less confusing
|
| 1.20 |
| 12-Jan-2003 |
is | Make it work more than one time. The old behaviour was very annoying. Reviewed by hubertf.
|
| 1.19 |
| 23-Jul-2002 |
mhitch | Add support for aout to ELF conversion to install.md, copied from the sparc miniroot install.md. Add usr/bin/file and usr/share/misc/magic to the miniroot - used by the install.md changes. Upgrades will now move the standard a.out shared libraries to /emul/aout.
|
| 1.18 |
| 15-Apr-2002 |
mhitch | branches: 1.18.2; Need to install /boot.amiga when installing/upgrading the bootblocks.
|
| 1.17 |
| 02-Mar-2002 |
mhitch | Adjust for change in kernel set naming.
|
| 1.16 |
| 17-Dec-2001 |
mhitch | Change to use the new two-stage boot loader when building the miniroot filesystem.
|
| 1.15 |
| 26-Jul-2001 |
is | explicitly use ffs. As we currently are pretty much limited to ffs, for bootblock reasons, this is ok... XXX instead, mount should be changed to really guess what type is there, even on mfs /kern/rootdev.
|
| 1.14 |
| 14-Nov-2000 |
is | On upgrades, or on installs where kern.tgz was installed, ask user wether the installed kernel should be replaced by the miniroot kernel.
|
| 1.13 |
| 24-Oct-2000 |
is | When no bootblock is installed, no more action, output etc. is to be expected, so no need for "...". Pointed out by Petri Koistinen.
|
| 1.12 |
| 17-Sep-2000 |
is | Now that we use an INSTALL kernel on the miniroot, give the user the opportunity to install the GENERIC from kern.tgz.
|
| 1.11 |
| 29-Jun-1999 |
is | branches: 1.11.8; Fix loop termination bug. Won't try any longer to disklabel /dev/rdonec when exiting the "look at disk label" loop (in md_prep_disklabel).
|
| 1.10 |
| 29-Jun-1999 |
is | Warn user not to use partition c for file systems
|
| 1.9 |
| 21-Nov-1997 |
is | branches: 1.9.2; Get rid of (commented out) remnant of Atari install.md md_prep_disklabel. Add into ours (which previously did nothing) a loop which allows to look at the existing disk label.
|
| 1.8 |
| 21-Nov-1997 |
is | Offer to install the X11 sets, too.
|
| 1.7 |
| 21-Nov-1997 |
is | If we're (I)nstalling, add the same loadkmap call we use for the install script to the end of rc.local.
|
| 1.6 |
| 14-Nov-1997 |
veego | md_native_fsopts don't need a '-', because install.sub use this variable for '-o $md_native_fsopts'. marmoset <pygmymarmoset@geocities.com> noticed the problem with mounting a ados filesystem.
|
| 1.5 |
| 31-Oct-1997 |
mhitch | Mount needs -u option to make root writable.
|
| 1.4 |
| 29-Oct-1997 |
mhitch | Fix md_installboot() to use the correct arguments for installboot.
|
| 1.3 |
| 09-Oct-1997 |
jtc | branches: 1.3.2; Fix tipo inherited from old version of TNF copyright template.
|
| 1.2 |
| 23-Sep-1997 |
is | We don't need md_get_ifdevs any more; install.sub calls ifconfig -l nowadays.
|
| 1.1 |
| 09-Sep-1997 |
is | First hack at generic miniroot installation for NetBSD/Amiga. Needs refinement at a few places, probably, and the docs still need to be rewritten. And we _still_ don't have a native partition table editor in the tree.
|
| 1.3.2.5 |
| 21-Nov-1997 |
is | Pullup from trunk: Allow user to look at the disk labels before creating the fstab (abusing md_prep_disklabel, which we can't do from inside NetBSD yet).
|
| 1.3.2.4 |
| 21-Nov-1997 |
is | Sync with trunk: Offer to install the X11 sets, too.
|
| 1.3.2.3 |
| 21-Nov-1997 |
is | Sync with trunk: install selected keyboardmap also in installed system.
|
| 1.3.2.2 |
| 14-Nov-1997 |
veego | Pull up rev 1.6 from the trunk: >md_native_fsopts don't need a '-', because install.sub use this >variable for '-o $md_native_fsopts'. >marmoset <pygmymarmoset@geocities.com> noticed the problem with >mounting a ados filesystem.
|
| 1.3.2.1 |
| 31-Oct-1997 |
mellon | Pull rev 1.4 and 1.5 up from trunk (mhitch)
|
| 1.9.2.2 |
| 02-Jul-1999 |
perry | pullup 1.10->1.11 (is)
|
| 1.9.2.1 |
| 02-Jul-1999 |
perry | pullup 1.9->1.10 (is): warn users not to use partition c
|
| 1.11.8.4 |
| 29-Jul-2001 |
he | Pull up revision 1.15 (requested by is): Workaround for the changed ``mount'' behaviour, which no longer defaults to ``ffs'' in certain circumstances.
|
| 1.11.8.3 |
| 15-Nov-2000 |
tv | Pullup 1.14 [is]: On upgrades, or on installs where kern.tgz was installed, ask user wether the installed kernel should be replaced by the miniroot kernel.
|
| 1.11.8.2 |
| 30-Oct-2000 |
tv | Pullup 1.13 [is]: When no bootblock is installed, no more action, output etc. is to be expected, so no need for "...". Pointed out by Petri Koistinen.
|
| 1.11.8.1 |
| 17-Oct-2000 |
tv | Pullup 1.12 [is]: Now that we use an INSTALL kernel on the miniroot, give the user the opportunity to install the GENERIC from kern.tgz.
|
| 1.18.2.2 |
| 26-Jan-2003 |
jmc | Pullup revisions 1.19-1.20 (requested by is in ticket #1071) Make it work more than one time. The old behaviour was very annoying.
|
| 1.18.2.1 |
| 23-Jul-2002 |
lukem | Pull up revision 1.19 (requested by mhitch in ticket #538): Add support for aout to ELF conversion to install.md, copied from the sparc miniroot install.md. Add usr/bin/file and usr/share/misc/magic to the miniroot - used by the install.md changes. Upgrades will now move the standard a.out shared libraries to /emul/aout.
|
| 1.23.6.2 |
| 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.23.6.1 |
| 15-Dec-2005 |
tron | branches: 1.23.6.1.2; Pull up following revision(s) (requested by mhitch in ticket #1043): distrib/amiga/miniroot/install.md: revision 1.24 Add xetc to the sets list.
|
| 1.23.6.1.2.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.25.22.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.25.20.2 |
| 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.25.20.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.27.40.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.27.40.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.28.4.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.30.2.1 |
| 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.
|