Commit Graph

457 Commits

Author SHA1 Message Date
Joerg Wunsch
7ef22d9129 Provide a symlink for /bin/sh when the fixit floppy is mounted, so
scripts using #!/bin/sh (like /mnt2/dev/MAKEDEV) will work.

Observed by:	andreas
1996-11-16 22:42:13 +00:00
Jordan K. Hubbard
532c723611 Add vx to list of devices. 1996-11-15 19:53:08 +00:00
Jordan K. Hubbard
5c3507a872 "over 600 packages" (geeze, this has been sitting uncommitted in my
source tree for 5 days! :-( ).
1996-11-14 05:46:22 +00:00
Jordan K. Hubbard
01f8d17065 Bring forward doc changes from 2.2. Much will need changing for 3.0,
which is where this is headed, but it's better than the 2.2-SNAP
docs.
1996-11-13 12:35:17 +00:00
Jordan K. Hubbard
9378cb736f Only save userconfig changes if the boot floppy version and the
installed version match.

Pointed-out-by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
1996-11-12 18:39:35 +00:00
Jordan K. Hubbard
d3400928da Disgusting kludge to make depend rule work again in the fact of
Joerg's keymap.[ch] changes.  If there's a better way, I'd like to know.
1996-11-09 20:50:23 +00:00
Jordan K. Hubbard
27fc704092 Whups, we need the VGA16 server by default too. 1996-11-09 19:47:24 +00:00
Jordan K. Hubbard
d5d267d104 1. Saner ldconfig path.
2. Choose DIST_XF86_CFG in defaults; XF86Setup isn't happy otherwise.
1996-11-09 19:26:01 +00:00
Jordan K. Hubbard
2ce9c19184 1. Take out console setup in options now that Joerg has moved it into
the main menu.
2. Conditionalized a few small things which needed it.
3. Put PC98 X servers in their own menu, there are so many of them now.
4. Rampaged on the menus.c file in general, reformatting and cleaning up.
1996-11-09 18:12:17 +00:00
Joerg Wunsch
9b23ef93f3 Sysinstall now offers the installation of a keymap early in the game!
Not all mappings are supported, most languages come only with one
encoding since this should be sufficient to get up & running in using
sysinstall, and we are already pretty tight on space.  (My previous
commit has already bumped the boot MFS size by another 50 KB for
this.)

This feature requires the `kbdcontrol -L' i've just committed.  Plain
text keymaps and the entire scanner are overkill for sysinstall.

Also updated the list of available keymaps while i was at it.

Reviewed by:	jkh
1996-11-09 16:47:08 +00:00
Joerg Wunsch
518c7f2a9a Several improvements to the `fixit' configuration:
. Don't gzip the crunched binary by now; it just fits, and execution is
  a lot faster this way (it's truly demand-paged again).

. Add more(1), ft(8), protocols(5), a stripped down services(5).

. Improve the .profile, and make sysinstall actually use it again.

Still no go for a 4 MB configuration though. :-(
1996-11-09 16:25:47 +00:00
Joerg Wunsch
1553b61593 If mounting the fixit floppy fails in the first place, warn the user
but make a second attempt using MNT_FORCE, just in case it has been
unclean from a previous crash.  That's dangerous, but far better than
keeping the despaired user standing in the rain...

(Experienced admins can still fsck it then, and remount.  Others will
either totally crash, or incidentally succeed, without much further
help possible...)

Btw., mount(2) misses the description of MNT_FORCE for the mount
syscall.
1996-11-09 11:57:40 +00:00
Jordan K. Hubbard
0108501f0f 1. Eliminate the sendmail.cw bogon again. Peter fixed it correctly.
2. Preload the ldconfig cache before calling X setup.
1996-11-08 05:38:27 +00:00
Jordan K. Hubbard
eee8f917c7 More cosmetic tweaks, get the prefixes adjusted properly to XFree86 3.2's
new packaging scheme.
1996-11-07 18:30:59 +00:00
Jordan K. Hubbard
8882073d4a Make sure current_chunk is 0 each time we enter the editor. 1996-11-07 16:40:10 +00:00
Jordan K. Hubbard
fddc8f18c1 This warning is too annoying now. Kill it. 1996-11-07 16:34:12 +00:00
Jordan K. Hubbard
f283407434 Install an evil work-around for /etc/sendmail.cw
[same as from 2.2]
1996-11-07 15:45:59 +00:00
Jordan K. Hubbard
4cb0381943 Complete switch-over to XF86 3.2. 1996-11-07 15:35:48 +00:00
Jordan K. Hubbard
f038904906 Properly clear FTP site selection info when network init fails; the
site name may have been wrong, or need to be specified by IP.
1996-11-07 14:17:09 +00:00
Jordan K. Hubbard
663b45cb90 Joerg's changes to add screen font and screenmap setting.
Some changes of my own to make screen saver configuration a little
more sane, and also make it easier to get to the keyboard/screen
setup from the options menu.
1996-11-07 08:03:29 +00:00
Jordan K. Hubbard
46a414ffbb Update to XFree86 3.2 1996-11-06 19:15:30 +00:00
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