Commit Graph

436 Commits

Author SHA1 Message Date
Poul-Henning Kamp
01961df54d Remove a bogon from version 1.69. Just because we say "use all disk"
doesn't mean that our geometry can be flushed down the drain.
1996-11-05 19:53:20 +00:00
Jordan K. Hubbard
d57b472224 Placate Joerg some more by making screen savers get a reasonable default
timeout.
2.2-RELEASE candidate, like all the work here in release/sysinstall.
1996-11-04 17:42:22 +00:00
Jordan K. Hubbard
5def50038a Use macros for package names so it's easier to update them in one
place (sysinstall.h) when packages change rev.

Change the way that the routing daemon is configured entirely, to
placate Joerg.  Also auto-load gated if it's specified, while we're at it.
1996-11-04 12:56:33 +00:00
Jordan K. Hubbard
3c669c7ea7 Make it clearer that DNS has succeeded for your host choice. 1996-11-04 02:12:49 +00:00
Jordan K. Hubbard
232c762e37 Fix a bogus decent into the network setup screen when running
multi-user.

Don't clear media on dist failure - this was one of those "seemed like a good
idea at the time" sorts of features.
1996-11-02 19:50:32 +00:00
Wolfram Schneider
88f04d6fce fix FAQ URL. Note for Jordan: don't merge this change into 2.1.6! 1996-10-23 22:28:56 +00:00
Jordan K. Hubbard
11fcd0ba76 Don't casually blow away FTP site settings now that it's easy for user
to override them.
1996-10-14 21:50:38 +00:00
Jordan K. Hubbard
e738250b89 Remove the now-unusable ports configuration code. Swapping CDs is bogus. 1996-10-14 21:32:39 +00:00
Jordan K. Hubbard
d2322fc6ac Be less draconian about distribution extraction errors - still write
/etc file changes out.
1996-10-12 23:48:33 +00:00
Eric L. Hernes
b14765b3ed Get the pysical address for id_maddr when opening an -incore kernel.
This fixes the kernel panic when propagating userconfig changes to
arbitrary kernels.

Remove obsoleted `#include <tcl.h>' added a few <stdio.h> where
necessary.

Fix getting scsi bus information from an -incore kernel.

Turned on SAVE_USERCONFIG by default.
1996-10-12 20:23:26 +00:00
Jordan K. Hubbard
0383bc6a90 Some cosmetic tweaks, attempt to fix package wait problem by checking
for error return as well (not sure if this is it, but it's one possible
explanation).
1996-10-12 19:30:26 +00:00
Jordan K. Hubbard
04f11c618f Ahem. It might be nice if I included /usr/src/contrib in with the other
src dists.  This alone is a good reason to re-roll the SNAP before putting
it on CD.
1996-10-10 09:22:37 +00:00
Jordan K. Hubbard
b11806da8c DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
1996-10-09 09:53:41 +00:00
Jordan K. Hubbard
7bea4afad3 Sigh. There are still some weird boundry cases (argh!). Turn
off SAVE_USERCONFIG again until Eric comes back from his trip.
1996-10-06 16:31:12 +00:00
Jordan K. Hubbard
ae58bac757 Detect the zero-chunks case properly, now that I've reversed the order
of the distribution probes over ftp.

Properly #ifdef the SAVE_USERCONFIG code.
1996-10-06 14:45:57 +00:00
Jordan K. Hubbard
b9403756ad Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
Jordan K. Hubbard
1f3a0ea7fd Turn SAVE_USERCONFIG on again - I found the bug. 1996-10-06 03:20:12 +00:00
Jordan K. Hubbard
48addbfd79 Better PKG_TMPDIR handling. 1996-10-06 03:18:55 +00:00
Jordan K. Hubbard
60e7f875ed Be more paranoid about clearing the FTP path when we have the slightest
reason to doubt its authenticity.
1996-10-06 02:10:54 +00:00
Jordan K. Hubbard
f5e8e60f1f Make the save_userconfig() stuff conditional and turned off by default
(for now - still a few more wrinkles here).  Add more debugging code
and some cosmetic tweaks.
1996-10-05 16:33:05 +00:00
Jordan K. Hubbard
e783f4c9a8 Wait for any stray processes we might be sent while running as init.
I have cautious hopes that this will fix the package installer zombie
accumulation problem.
1996-10-05 12:28:36 +00:00
Jordan K. Hubbard
3a781673de Correct check for ensuring that the network configuration isn't fiddled with
when running multi-user.
1996-10-05 12:16:49 +00:00
Jordan K. Hubbard
2ac528a98f 1. Change device probing so that high speed network devices are found before
SLIP/PPP devices, putting them before the others in the network device
   selection menu.

2. Change "Other" to "URL" so as not to conflict with the keyboard accellerator
   for the "OK" button in FTP site selection menu.

3. Detect the NULL last symbol in the name list and initialize the other
   members correctly.
1996-10-05 11:56:50 +00:00
Jordan K. Hubbard
d50a30076c Multiple changes stacked as one commit since they all depend on one another.
First, change sysinstall and the Makefile rules to not build the kernel
nlist directly into sysinstall now.  Instead, spit it out as an ascii
file in /stand and parse it from sysinstall later.  This solves the chicken-n-
egg problem of building sysinstall into the fsimage before BOOTMFS is built
and can have its symbols extracted.  Now we generate the symbol file in
release.8.

Second, add Poul-Henning's USERCONFIG_BOOT changes.  These have two
effects:

	1. Userconfig is always entered, rather than only after a -c
	   (don't scream yet, it's not as bad as it sounds).

	2. Userconfig reads a message string which can optionally be
	   written just past the boot blocks.  This string "preloads"
	   the userconfig input buffer and is parsed as user input.
	   If the first command is not "USERCONFIG", userconfig will
	   treat this as an implied "quit" (which is why you don't need
	   to scream - you never even know you went through userconfig
	   and back out again if you don't specifically ask for it),
	   otherwise it will read and execute the following commands
	   until a "quit" is seen or the end is reached, in which case
	   the normal userconfig command prompt will then be presented.

  How to create your own startup sequences, using any boot.flp image
from the next snap forward (not yet, but soon):

	% dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO
USERCONFIG
irq ed0 10
iomem ed0 0xcc000
disable ed1
quit
WAKKA_WAKKA_DOO


Third, add an intro screen to UserConfig so that users aren't just thrown
into this strange screen if userconfig is auto-launched.  The default
boot.flp startup sequence is now, in fact, this:

	USERCONFIG
	intro
	visual

(Since visual never returns, we don't need a following "quit").

Submitted-By: phk & jkh
1996-10-05 10:44:07 +00:00
Jordan K. Hubbard
c358d51efd Add stuff to CLEANFILES. 1996-10-05 06:04:03 +00:00
Jordan K. Hubbard
48a13090be Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
Jordan K. Hubbard
46a7b8131d Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
Jordan K. Hubbard
2705b229fc Temporarily disable userconfig saving until I figure out why uc_open()
loops internally for BOOTMFS (not being able to run gdb on sysinstall
when it's running as init is a real pain!).
1996-10-03 08:54:37 +00:00
Jordan K. Hubbard
7ae3b92f0d Check return values from uc_open() correctly. Note: This seems to work
really well when running the GENERIC kernel but not with the BOOTMFS kernel.
Further work is needed.
1996-10-03 08:17:16 +00:00
Jordan K. Hubbard
11a7f9359b Fix the "missing nameserver value" bug. Simplify some unnecessarily
crufty code, here and there.
1996-10-03 07:50:09 +00:00
Jordan K. Hubbard
f4cd25007b First cut at a "copy userconfig changes from installation kernel to installed
kernel" mechanism.  This is just the foundation - more work follows
and will be committed over the next few hours.
Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
1996-10-03 06:01:44 +00:00
Jordan K. Hubbard
4bf9c8cd84 One small policy tweak to something I like better. 1996-10-02 10:44:31 +00:00
Jordan K. Hubbard
5c38fa57b2 More strategic screen clears(). 1996-10-02 10:32:28 +00:00
Jordan K. Hubbard
e3e0a7a433 Fixes and a place-holder for future work. 1996-10-02 08:25:11 +00:00
Jordan K. Hubbard
4dcc16b986 Catch a clear() I missed. 1996-10-02 02:19:35 +00:00
Jordan K. Hubbard
a54f2b1abb Don't annoyingly reconfigure the network when you don't have to. 1996-10-02 02:02:18 +00:00
Jordan K. Hubbard
899469e32a More tweaks to FTP reselection code - allow "none" to stand for
"no specific release - use anything you can find"
1996-10-02 01:30:37 +00:00
Jordan K. Hubbard
a1d6d1bcd5 Try to get the info file before the whole file - it eliminates
a gratuitous fetch attempt in most situations.
1996-10-02 00:52:38 +00:00
Jordan K. Hubbard
8b3d07b538 Make FTP site reselection work the way it always should have. 1996-10-02 00:41:40 +00:00
Jordan K. Hubbard
7972a1c191 Round 2.5 1996-10-01 14:08:28 +00:00
Jordan K. Hubbard
23c0fda959 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
Jordan K. Hubbard
3e19bb8220 Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
Jordan K. Hubbard
36122d2d57 Correct a minor misspelling.
Noticed-by: der
1996-09-29 10:03:30 +00:00
Paul Traina
c8de1e0212 Rate limit the "xxx bytes read from" message to a maximum of one per
chunk or one per second, whichever is less.  Outputting this message once every
couple of K was really crazy on a 9600bps serial console.
1996-09-26 22:12:07 +00:00
Paul Traina
41b018dd0b If we're running through the FTP setup dialog the *first* time, skip
the FTP path if we've already configured one (this allows preconfigured ftp
servers).
1996-09-26 22:07:32 +00:00
Paul Traina
09bef27f97 If we're unable to open /dev/ttyv0, assume that we're on a single tty system
and use /dev/console.

I really think the proper test is to determine which device has been configured
to be the console (remember the RB_SERIAL flag?) and use it instead of always
trying to open /dev/ttyv0 first.
1996-09-26 21:07:11 +00:00
Paul Traina
5319e113eb If /install.cfg exists on the local floppy (or if LOAD_CONFIG_FILE is defined
and the user inserts a floppy), read the config file to pre-define variables
for a custom installation.

[Note: I fixed one bug in LOAD_CONFIG_FILE code, but it's still not perfect.]
1996-09-26 21:03:35 +00:00
Jordan K. Hubbard
3e8947d7aa Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
Jordan K. Hubbard
932fd2b2c2 Don't call copySelf() when upgrading. 1996-09-18 18:40:37 +00:00
Jordan K. Hubbard
4f68a706f2 Remove some bogosities I introduced with the init file hack (not serious,
just bogus).  Also turn off by default - whoops!
1996-09-15 23:55:23 +00:00