Commit Graph

1083 Commits

Author SHA1 Message Date
jkh
968d319814 Mondo-merge of new 2.2 installation technology. 1996-10-15 17:04:56 +00:00
jkh
4bf196a8f9 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
jkh
1583864055 Remove the now-unusable ports configuration code. Swapping CDs is bogus. 1996-10-14 21:32:39 +00:00
jkh
7208355a13 Adjust the boot-time userconfig options to match reality. 1996-10-14 13:29:40 +00:00
jkh
53ef4f1c86 Adjust release notes for upcoming re-SNAP. 1996-10-13 01:53:24 +00:00
jkh
3287a8d4c6 Be less draconian about distribution extraction errors - still write
/etc file changes out.
1996-10-12 23:48:33 +00:00
erich
69b9dc90e9 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
jkh
1689251411 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
jkh
2bb87dfc53 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
jkh
b3eb03e7b2 DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
1996-10-09 09:53:41 +00:00
jkh
6f83ff6916 Add note about SYN fix. 1996-10-07 04:43:01 +00:00
jkh
3c16d249ef Add -lcrypt for new ppp changes. 1996-10-07 04:16:36 +00:00
wosch
470307b778 correct spelling of 'X Window System' (tm) 1996-10-06 17:59:28 +00:00
jkh
5afa2e19b1 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
jkh
02de3b2b79 *blush* - I forgot to change the check for fscanf()'s return value
after altering the argument count.
1996-10-06 16:04:49 +00:00
jkh
77e964b083 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
jkh
c2c9760ed5 Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
jkh
04e3c42800 Turn SAVE_USERCONFIG on again - I found the bug. 1996-10-06 03:20:12 +00:00
jkh
6039717098 Better PKG_TMPDIR handling. 1996-10-06 03:18:55 +00:00
jkh
904614b2cf Found my mistake: I should have been copying from _nl in the on-disk
case, not nl (size we take its size - d'oh!).
1996-10-06 02:56:22 +00:00
jkh
e125f9e30d 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
jkh
5ab8a530e6 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
jkh
13dac2ef48 Erm. I'm sleepy. Handle the null-field case the way I actually meant
to the first time.
1996-10-05 13:30:43 +00:00
jkh
a0fd39b29f OK, *now* the symbol file is being generated in the correct place. 1996-10-05 13:10:01 +00:00
jkh
eec9c7de18 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
jkh
dfd125f0a8 Correct check for ensuring that the network configuration isn't fiddled with
when running multi-user.
1996-10-05 12:16:49 +00:00
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