Commit Graph

43 Commits

Author SHA1 Message Date
bouyer d5bc7a86e8 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.
2002-06-12 09:10:02 +00:00
nathanw c19639f45d 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.
2002-05-23 02:57:08 +00:00
fredette e19ecd314c Fixed a spelling mistake. 2002-04-18 21:41:38 +00:00
fredette 1b9e597488 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.
2001-12-17 20:17:34 +00:00
abs f399708136 Handle hostname being set in /mnt/etc/rc.conf 2000-11-22 21:04:46 +00:00
is ee2a656373 Finish the old job of makeing this work with media-less interfaces, e.g.
bah or amiga if_es.
2000-11-14 20:37:25 +00:00
is f2a9404fd1 Fix typo, pointed out privately by Petri Koistinen. 2000-10-30 20:21:08 +00:00
pk db46ad3478 Use `nlist' to get the set list from ftp. 2000-09-03 20:01:46 +00:00
lukem 78abee064b remove netstart 2000-05-13 08:07:01 +00:00
pk 3123085e13 Make FQDN optional (PR#9823). 2000-04-11 08:26:34 +00:00
mrg f2c5f2ab2c add an option to disable the -v flag to pax, that a SPARC framebuffer console user might very much like. 2000-02-20 00:23:10 +00:00
pk 28017b2956 get_localdir: fix variable use in error message (PR#8913)
+ clarify expected input.
2000-02-04 15:28:28 +00:00
sjg ed00b4ca01 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.
1999-10-07 00:10:03 +00:00
mrg 9aebf66cbe allow installing sets from already-mounted directory. fixes PR#6313 1999-06-28 07:59:39 +00:00
mrg e7e33e2136 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
1999-06-27 12:55:58 +00:00
is 23610fcf92 - 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.
1999-05-16 20:42:27 +00:00
is ef37d9492f 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.
1999-05-02 20:53:22 +00:00
is 5baac5a0fb Disable line editing for the ftp-scripts. Apparently, this is what makes
ftp installs work again.
1999-04-26 10:50:44 +00:00
garbled 851ee9e397 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.
1999-01-25 23:34:20 +00:00
pk b7f5e603b4 Previous sync with `etc/netstart' was not complete. 1997-11-12 01:13:54 +00:00
pk ba5e432c64 Check `auto_ifconfig' rc.conf variable, per Michael Hitch. 1997-11-10 21:13:01 +00:00
jtc c8f77c0b8b Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
leo 4f74685857 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.
1997-09-25 06:25:50 +00:00
is cd718ac0c1 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()
1997-09-09 23:02:04 +00:00
pk 6e885e06dd Do not present media type `manual' as a default choice. 1997-09-08 23:22:44 +00:00
is 61334d9eb4 - 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.
1997-09-07 22:43:13 +00:00
is 4f1f662f6c Fix type (_fstype vs. _filesystem); and use partition "a" on CD as default. 1997-09-01 21:16:01 +00:00
pk 48dcd4eff7 * 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)
1997-05-01 13:26:54 +00:00
gwr 165cf39d2a Merge the netbsd-1-2 branch back into the mainline. 1996-10-10 19:58:32 +00:00
leo 1cc9cc4d59 Re-arrange install_disk() a bit. The code to mount a disk is pulled out
so it can also be used from other functions.
1996-07-04 06:57:21 +00:00
pk bd6d9d2e89 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.
1996-06-27 13:45:45 +00:00
pk b11425523d Do not present previously skipped sets as default again. 1996-06-26 19:09:31 +00:00
pk 512a95af8e Pull up changes from release branch (rename `install_common_cdrom_nfs'). 1996-06-26 19:07:29 +00:00
thorpej b3b461a5a2 Fix a couple of typos. 1996-06-25 07:36:54 +00:00
pk 0719964575 Typos I thought I killed before. 1996-06-19 14:16:25 +00:00
pk ca95e90fca 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.
1996-06-18 12:50:56 +00:00
leo 76285e652b * 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.
1996-05-30 06:57:12 +00:00
leo e2202ab208 Sync atari miniroot & mi-miniroot 1996-05-27 12:39:01 +00:00
pk 819ce802e7 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.
1996-05-21 18:53:54 +00:00
pk 9954d351bb kill some more awks 1996-05-21 00:10:57 +00:00
pk 5d2a8bbf21 There's life after awk. Replace awk scripts with shell function equivalents
(inspired by Leo's atari scripts).
1996-05-20 00:32:24 +00:00
thorpej 0ffa7d7b3c Copyright assigned to The NetBSD Foundation. 1996-02-28 00:47:42 +00:00
pk 6f94427590 MI install and upgrade scripts. 1996-01-06 22:45:13 +00:00