Commit Graph

1256 Commits

Author SHA1 Message Date
jkh
d81f278ab4 Allow user to delete as well as install packages from the package
installer menu.

Fix status line code so informationals show up properly again.
1997-01-29 22:35:05 +00:00
jkh
369e45d4cb Cosmetic tweaks.
Also redirect stderr to Debug when running multiuser.
1997-01-29 21:45:30 +00:00
jkh
ac85456797 Fix broken layout help (this is what broke the TCP help screen).
Allow DITEM_NO_ECHO to be encoded in layout field types and make
user.c use it for the password item.
1997-01-29 21:16:07 +00:00
jkh
2c34f16609 Make media re-init a user choice. 1997-01-29 03:30:24 +00:00
jkh
cb0391dcad Do media initialization at correct time for upgrade too.
Update /stand.
1997-01-29 01:23:05 +00:00
jkh
9506febea9 Update Russian FTP sites according to Mikhail A. Sokolov's current
configuration.
1997-01-29 01:13:27 +00:00
jkh
9c22ad0f6f Death to another bad idea: Don't auto-mount CDROM on startup. 1997-01-29 00:14:17 +00:00
jkh
4747e96086 DTRT with a release string of "none" and use the correct (updated)
mountpoint name for fixit.
Submitted-By: joerg
1997-01-27 09:51:56 +00:00
jkh
7c90f2dddb Add new Portugal mirror. 1997-01-27 00:16:15 +00:00
jkh
6f28cb7164 Allow both types of XFree86 setup script to be run at user choice. 1997-01-24 20:20:12 +00:00
jkh
221f419b42 I need to learn to read man pages more closely. readlink() does NOT null
append the return string (bleah!) so you need to do it yourself.  This
explains why Bus and PS/2 meece weren't displayed in the Mouse selection
menu.
1997-01-24 19:31:53 +00:00
jkh
ea4f82e353 OK, I've got two ideas to file in the "really seemed like a good idea
at the time, but on further reflection..." bucket with these changes.

1. Checking the media before frobbing the disks was a fine idea, and
   I wish it could have worked, but that leads to a rather difficult
   situation when you need to mount the media someplace and you're about
   to:

	a) Chroot away from your present root.
	b) Newfs the root to be.

   You're basically screwed since there's no place to stick the mount
   point where it will be found following the newfs/chroot (and eliminating
   the chroot in favor of just using the "root bias" feature would work
   great for the distributions but not the pkg_add calls done by the
   package installer).

2. Automatic timeout handling.  I don't know why, but alarm() frequently
   returns no residual even when the alarm didn't go off, which defies
   the man page but hey, since when was that so unusual?  Take out timeouts
   but retain the code which temporarily replaces the SIGINT handler in
   favor of a more media-specific handler.  This way, at least, if it's hanging
   you can at least whap it.  I think the timeout code would have been losing
   over *really slow* links anyway, so it's probably best that it go.

This should fix NFS, tape & CDROM installs again (serves me right for getting
complacent and using just the FTP installs in my testing).
1997-01-24 19:24:51 +00:00
jkh
59d748d531 This is a patch that makes some of the "partitions" --> "slice" to be
more consistant in our use of the terms for differentiation between PC
partitions and traditional BSD partitions.

Submitted-By: obrien@cs.ucdavis.edu (David O'Brien)
1997-01-24 07:47:17 +00:00
jkh
665db5b3e7 Update russian mirrors. 1997-01-24 07:03:15 +00:00
obrien
c41a7f6369 Change from using chunk_n to slice_type_name().
Reviewed by:	jkh
1997-01-24 02:26:42 +00:00
obrien
9ff587c7f5 Adaptec AHA-1535 works fine with FBSD. It is basicly an ROM-less, PIO
Plug-n-Pray verison of the the AHA-1540.
1997-01-23 07:44:57 +00:00
jkh
f6715456ff *groan*. I broke tape extraction with the same optimization.
Fix that too.
1997-01-22 00:27:22 +00:00
jkh
c7ed70aaeb Argh! Moving the media initialization to before the disk scribbling
section was a good thing, since it made it possible to detect media problems
*before* the installation started, but it also caused various things to
be mounted BEFORE the chroot() call, which definitely messes things up.

Fix this by detecting the pre-chroot() case and mounting into a subdir.
1997-01-22 00:15:51 +00:00
jkh
45fb17ad74 A couple of cosmetic tweaks to tape install method and fstab file format.
Submitted-By: Flemming Jacobsen <fj@schizo.dk.tfs.com>
1997-01-20 19:36:31 +00:00
jkh
1a443b3210 Rearrange the timeout code and also (whoops) provide for timeouts during
file opens, not just during file reads.
1997-01-20 19:26:44 +00:00
jkh
185e9a615c Add extra variables for the configuration of all packages, not just
the lynx browser.

Submitted-By: David O'Brien <obrien@cs.ucdavis.edu>
1997-01-20 16:13:43 +00:00
jkh
64f19380c2 Correct a real brain-o in my check for when a "fixup" should be run.
Don't recreate parent menus just for submenus - it's irritating.
1997-01-19 10:27:12 +00:00
jkh
1d0095968b Use alarm's return status to more properly denote timeout rather than keeping
an icky global around.
1997-01-19 09:55:37 +00:00
jkh
37838c93f6 Fix a variety of problems with my timeout handling, make it more
configurable (you can now set the timeout interval), fix a crash-bug
when no network device was attached.
1997-01-18 19:18:26 +00:00
jkh
870186b049 Implement compiled-in config file handling a little better - now
that there's no filesystem on the boot.flp image we need to prompt
for the configuration floppy.
1997-01-18 16:37:15 +00:00
jkh
48a07301bb Be more aggressive about timeouts. 1997-01-17 19:00:38 +00:00
jkh
36e3910a7d Add timeout support to sysinstall's general media handling,
allow SIGINT to stand for "time out now!" in certain cases.
1997-01-17 15:58:58 +00:00
jkh
451fe32691 Add device entries and documentation for Intel EtherExpress Pro/10 driver. 1997-01-17 14:18:10 +00:00
jkh
22c16683ef Whoops! Fix an infinite loop I lovingly introduced into this code
with a previous commit.
1997-01-17 14:05:37 +00:00
jkh
dc311d3ebe Pass LOAD_CONFIG_FILE variable through, if set (makes Paul Traina's life
easier).  Only run install.cfg if running as init.  It's something of
a security hole otherwise. :)
1997-01-17 10:57:26 +00:00
jkh
01b3e9a58b Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective
in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
1997-01-17 08:47:13 +00:00
alex
a3118e8c68 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
jkh
21695ece5e Fix mishandling of extraction return status in commit. 1997-01-16 15:00:25 +00:00
jkh
433374c7cc Cope with Open_Disk() failure much more gracefully. 1997-01-16 14:42:21 +00:00
jkh
af224f8f64 Damn! Forgot to update lynx also. 1997-01-16 10:51:53 +00:00
jkh
c0bc9af071 Minor cleanup, adjust for latest version of apache web server. 1997-01-16 10:48:00 +00:00
jkh
b5a526ab91 Clean up a long-standing bug in the scripting code. You could set variables,
but you couldn't call functions!  Now you can do both.
Guard against whitespace pollution in variable names.
1997-01-16 10:24:09 +00:00
jkh
873447b1b5 Use a better dialog for flagging field validation errors.
Pointed-Out-By: msmith
1997-01-16 09:45:35 +00:00
jkh
0a608020ca Keep our serial ports distinct so that first device is not found for
all (closes PR#2296).
Print better FTP failure diagnostics
Do better media failure checking in install.
1997-01-15 16:21:10 +00:00
jkh
685ecfc427 Put upgraded files in their own directory - using the suffix was a bad idea. 1997-01-15 15:32:04 +00:00
jkh
0408df7ebc Register SLIP/PPP devices properly again.
Make the /etc resurrection more sensible for upgrade.  No longer
quite so annoying.
1997-01-15 13:39:50 +00:00
jkh
83ba4d6e86 Add some missing parameters to msgConfirm() which produced the effects
noted in PR#2454
1997-01-15 11:48:37 +00:00
jkh
605c80f6c5 Don't call systemShutdown() from signal handler so that the media device
is closed.  The FTP library doesn't expect to be called recursively from
an interrupt. :)
1997-01-15 08:01:10 +00:00
jkh
50acd3ec75 Put this branch of docs back on the 3.0 SNAP track. 1997-01-15 07:50:37 +00:00
jkh
733cd98f43 Make upgrade allow reselection of failed media. 1997-01-15 07:28:25 +00:00
jkh
870f49cf8f Make the bindist-only checks actually work.
Add code which theoretically should let you get a disk up from
start to finish while running multiuser, using your existing /dev
entries.
1997-01-15 07:06:39 +00:00
jkh
0a45d47c6d Make the FTP installation codepath a lot more defensive. Trap
bogus path and FTP I/O errors much earlier, offer retry possibilities
at steps along the way so you don't have to resume from the very beginning
again on a hard error.
1997-01-15 06:30:50 +00:00
jkh
e2cfd8f2e1 Fix several problems:
1. Bus mouse selection didn't show up properly in mouse menu.
2. U&G management screen didn't respect cancel properly.
3. Novice not prompted to add users or set root password during installation.
4. Username length changes screw up user management form.
1997-01-15 03:57:50 +00:00
jkh
abdf7664f7 Set defaults more rationally through the item selection loop. 1997-01-15 03:24:44 +00:00
jkh
b80b054378 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00