Commit Graph

1057 Commits

Author SHA1 Message Date
jkh
4da4b8bed3 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
jkh
92667e3313 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
jkh
0d7120a70d Correct a misuse of the GENERIC kernel where I should have referenced
the BOOTMFS kernel instead.
1996-10-05 07:46:54 +00:00
jkh
614dce302f Fix bogon with kernel name. 1996-10-05 06:10:58 +00:00
jkh
904a4501a7 Add stuff to CLEANFILES. 1996-10-05 06:04:03 +00:00
jkh
4dd7c82ff7 Yet Another Bogon Fix. 1996-10-05 05:51:12 +00:00
jkh
922c3327ae Simplify the compiled-in nlist case a bit by naming the structures
the same.
1996-10-05 02:12:35 +00:00
jkh
aa98e00181 Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
a1b79cd5d0 Whoops! Fix a stupid bogon. 1996-10-04 14:25:23 +00:00
jkh
177253487a Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
jkh
6a223e1fce 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
jkh
7b9bca9cdf 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
jkh
1330da5e15 Fix the "missing nameserver value" bug. Simplify some unnecessarily
crufty code, here and there.
1996-10-03 07:50:09 +00:00
jkh
24d72148ec 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
jkh
957d8e74af One small policy tweak to something I like better. 1996-10-02 10:44:31 +00:00
jkh
12b9772c91 More strategic screen clears(). 1996-10-02 10:32:28 +00:00
jkh
4259119b91 Fixes and a place-holder for future work. 1996-10-02 08:25:11 +00:00
jkh
2558207716 Sheesh - it's a lot easier to call mediaSetFTP() than to duplicate the
code (I'm hungry, I can't concentrate! :-).
1996-10-02 02:28:21 +00:00
jkh
ece7db74ef Catch a clear() I missed. 1996-10-02 02:19:35 +00:00
jkh
b19ed7e5c8 Don't annoyingly reconfigure the network when you don't have to. 1996-10-02 02:02:18 +00:00
jkh
c5daba2dfd 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
jkh
5f7e240fef 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
jkh
919bb2c57c Make FTP site reselection work the way it always should have. 1996-10-02 00:41:40 +00:00
jkh
6198e0ee81 Doc updates for next SNAP. 1996-10-02 00:26:36 +00:00
jkh
c5c045e538 Update some docs. 1996-10-01 14:17:58 +00:00
jkh
08e7912c56 Round 2.5 1996-10-01 14:08:28 +00:00
jkh
49e94fab07 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
jkh
117f14cc94 Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
jkh
dd396da376 Correct a minor misspelling.
Noticed-by: der
1996-09-29 10:03:30 +00:00
pst
34bee73043 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
pst
20036679ec 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
pst
1093963d9f 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
pst
a090bd867f 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
pst
303ae0dadb When doing a rerelease, cvs update from within the source directory so we
pick up the old CVSROOT if we don't have the environment variable set.

If /usr/src/release/install.cfg is present, put it out onto
the root filesystem of the boot floppy.  It may optionally be
used to pre-configure sysinstall with custom values.  (See next
batch of commits).
1996-09-26 20:48:03 +00:00
pst
1c3a7303b4 Fix a typo in phk's rawboot conversion 1996-09-25 00:43:23 +00:00
jkh
d5953cd2b2 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
jkh
52fe065ab8 Note that Adaptec 1510 controller is supported (via aic0 driver).
Submitted-By: Phil Gilley <pgilley@metronet.com>
1996-09-21 06:47:27 +00:00
phk
8fc1517da9 Use rawboot for boot floppies. 1996-09-19 08:35:41 +00:00
jkh
0687f90040 Don't call copySelf() when upgrading. 1996-09-18 18:40:37 +00:00
jkh
e4df920fb2 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
pst
2a0a8b779a Turn off KTRACE on MFS boot floppy. 1996-09-09 21:25:40 +00:00
jkh
c80572fdca Various minor improvements. 1996-09-08 01:39:25 +00:00
pst
9140505990 Add support for CVSROOT/INTCVSROOT as simple makefile variables.
Reviewed by: jkh
1996-09-07 01:05:16 +00:00
jkh
c93475e95f Close a security hole in anonymous ftp setup.
Submitted-By: Jason Garman <garman@phs.k12.ar.us>
1996-09-06 05:58:27 +00:00
jkh
4470be7e2a Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.
Also update copyright notices.
1996-09-01 08:17:14 +00:00
jkh
d3739879c9 Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +00:00
julian
c5deb4e082 slight cleanup of the floppy building stuff to take into account
the new OBJdir system.
quite a bit to go yet.

cd /usr/src; make world
cd release
cd sysinstall;make obj; cd ..
cd floppies; make obj; make
1996-08-22 09:45:46 +00:00
jkh
ff8fc6b664 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
jkh
3b70da563f Don't stick CD distributions under dists/ directory. 1996-08-03 06:49:00 +00:00
jkh
c13a841e41 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00