Commit Graph

1369 Commits

Author SHA1 Message Date
Jordan K. Hubbard
37c16c5340 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
Jordan K. Hubbard
69bab6f567 Use a better dialog for flagging field validation errors.
Pointed-Out-By: msmith
1997-01-16 09:45:35 +00:00
Jordan K. Hubbard
d42e16a0d6 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
Jordan K. Hubbard
c5e12995c6 Put upgraded files in their own directory - using the suffix was a bad idea. 1997-01-15 15:32:04 +00:00
Jordan K. Hubbard
615d72264e 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
Jordan K. Hubbard
840c833532 Add some missing parameters to msgConfirm() which produced the effects
noted in PR#2454
1997-01-15 11:48:37 +00:00
Jordan K. Hubbard
6f1cc2d697 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
Jordan K. Hubbard
ecbfcda980 Put this branch of docs back on the 3.0 SNAP track. 1997-01-15 07:50:37 +00:00
Jordan K. Hubbard
4b5985f238 Make upgrade allow reselection of failed media. 1997-01-15 07:28:25 +00:00
Jordan K. Hubbard
3f0d701c2d 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
Jordan K. Hubbard
4a57e2940f 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
Jordan K. Hubbard
9b1696b002 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
Jordan K. Hubbard
9e5c9c0856 Set defaults more rationally through the item selection loop. 1997-01-15 03:24:44 +00:00
Jordan K. Hubbard
91188fac62 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
Jordan K. Hubbard
1167de61b4 Copy ABOUT.TXT properly to the CD also. 1997-01-14 14:48:16 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
60191fe961 Add more protection when running as init and don't do stupid things.
Fix looping in fixit cdrom selection by adding a missing break.
Move unmount of cdrom down to proper place.
1997-01-12 11:13:43 +00:00
Jordan K. Hubbard
1c2b09d5b2 DTRT for the 2nd CDROM and cdrom.inf automatically. 1997-01-06 11:45:01 +00:00
Jordan K. Hubbard
fb25893d57 Add extra tweak for -current compilation and some debugging. 1997-01-06 11:32:44 +00:00
Jordan K. Hubbard
29d851f6c2 Do a better job of CDROM detection.
Use consistent spelling throughout.
Remove unmount in fixit_common() since that's bogus in the CDROM case and
properly "shut down" the media device instead.
1997-01-06 11:10:25 +00:00
Jordan K. Hubbard
719de2bced Clean up device handling WRT slip and ppp devices. An incomplete transition
from one convention to another had things pretty fouled up in here.
1997-01-04 13:29:10 +00:00
Jordan K. Hubbard
6befaa491c Add a few strategic screen clears in network setup.
Disable saving of SCSI device parameters in userconfig saving in hopes
of working around a reported problem in the no-device case; there's no
point in saving this information here anyway.

2nd patch submitted-by:  "Eric L. Hernes" <erich@lodgenet.com>
1997-01-04 12:36:39 +00:00
Jordan K. Hubbard
a686b628ba Adjust the maximum displayed length.
Submitted-By: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1997-01-03 06:41:41 +00:00
Jordan K. Hubbard
e5b09b7d10 Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using
routine adopt them.  Also reorganize includes and generally clean up.
1997-01-03 06:32:39 +00:00
Jordan K. Hubbard
d98b19d1e3 Use the right dd conversion options for whacking on the sysinstall commands. 1997-01-02 10:29:40 +00:00
Jordan K. Hubbard
650deed426 Add an install file to go with this new distribution. 1997-01-02 10:14:18 +00:00
Jordan K. Hubbard
0cfdb0f162 Attempt, once more, to speak english. 1997-01-02 07:37:29 +00:00
Jordan K. Hubbard
434a0eeb38 1. Correct bogon in cdromInit when running multi-user which took cdrom offline
if wrong version.
2. Make sure network device is initialized in ftpInit
3. Eliminate bogus size values in the menus.  For now, we'll have to admit
   that nobody's added it up yet.  In the future, these menus should be
   build dynamically anyway, not declared static.
4. Add more debugging to networking code to chase the mystery ppp device
   problem.
1997-01-01 12:36:09 +00:00
Jordan K. Hubbard
8486a671de Close PR#2341 - 2.1 -> 2.2 1997-01-01 09:18:34 +00:00
Jordan K. Hubbard
91f2535e33 Make CHECKSUM.MD5 files automatically. 1997-01-01 03:16:34 +00:00
David E. O'Brien
1a728844c1 Added the package catagories astro, chinese, mbone, and vietnamese;
along with applicable descriptions.
1996-12-31 14:37:06 +00:00
Jordan K. Hubbard
580bb985d1 argh!! I thought I stomped these two lines already.. :( 1996-12-30 05:35:33 +00:00
Jordan K. Hubbard
630a47cfec More properly call objlink target than use `obj OBJLINK=yes'; the latter
form seems broken these days anyway.
1996-12-30 02:57:33 +00:00
Jordan K. Hubbard
18926d84a6 Support the use of the 2nd CDROM as a fixit aid. Also put the EHS
into a submenu in case you need to start it again (or at some other point
in the installation).

Submitted-By: joerg
1996-12-29 05:51:40 +00:00
Jordan K. Hubbard
38597f2be6 Add a "catpages" distribution for the catman stuff.
Submitted-By: joerg
1996-12-29 05:28:41 +00:00
Jordan K. Hubbard
c67c1d0865 Make sure sysinstall gets its obj directory made. This should close
PR#2308, but I need to test it.
1996-12-29 05:26:04 +00:00
Mike Pritchard
f52a35b581 Fix some spelling errors.
Jordan, I'll let you merge this into 2.2o that I don't
stomp on you.
1996-12-26 21:53:11 +00:00
Joerg Wunsch
18e5f50832 Documentation update.
Remove a duplicate entry for ahc0 in hardware.hlp (closes PR #
docs/2282), a few additions all over the place while i was at it.

Tried to add as much of the important highlights for the new features
in 2.2 into the release notes.  I still think that many things are
missing here, so folks, if you imported something great that's in 2.2
but not in 2.1.X, please review this section and send us your
additions!

Submitted by:	seki@sysrap.cs.fujitsu.co.jp (for the ahc0 dup)
1996-12-26 21:24:00 +00:00
Jordan K. Hubbard
9f2e984973 Clean up some calls to close(). 1996-12-26 21:03:04 +00:00
Jordan K. Hubbard
0495d47f7e Fix fixit floppy. 1996-12-26 03:32:50 +00:00
Jordan K. Hubbard
03b1ba77c3 Bring these up-to-date with Peter's compat distribution changes. 1996-12-24 00:23:43 +00:00
Peter Wemm
ec1ef76523 Build the compat dists via the standard build with the rest of the tree
rather than as a special case.

Reviewed by:	jkh
1996-12-23 05:10:31 +00:00
Nate Williams
cf11c9a8d0 Added comments on how to setup syscons to work on older ThinkPads. 1996-12-17 00:53:33 +00:00
Jordan K. Hubbard
3cce01a416 1. Engage brain. 2. Write macro. Previous commit attempted to perform
2 before 1.
1996-12-17 00:00:15 +00:00
Jordan K. Hubbard
50aaa93770 make note of which /etc files need upgrading in installUpgrade rather
than asking the user to keep track of the list himself.
1996-12-15 18:14:37 +00:00
Joerg Wunsch
833e0176e3 Increase the size of the vector that is allocated for execv(). Jordan
apparently forgot this when adding the password feature.
1996-12-15 11:22:37 +00:00
Jordan K. Hubbard
5bf8036af0 Merge from 2.2 1996-12-14 23:14:39 +00:00
Jordan K. Hubbard
507372af02 Now that I've got my source tree sorted out, bring all the things
I've been committing into 2.2 directly all this time.
1996-12-14 23:09:10 +00:00
Jordan K. Hubbard
5d755bde76 Give this file a home also. No, I don't like it here either but
I don't want it in sysinstall/help, since that'll get it stuck on the
actual floppy, and I didn't fell like creating a doc/ subdirectory for
one file either.  Bah.
1996-12-14 22:45:42 +00:00
Jordan K. Hubbard
3c1d2e5b15 Bring this file in from the cold and update it to match new realities. 1996-12-14 22:42:19 +00:00
Jordan K. Hubbard
c352737c78 To use the dosio library fully, I also (duh!) have to retain full
use of stdio, I can't just go handing fileno(fp) around and expect
that to work.  Since this means I need to have sysinstall play pipeline
on single file distributions now, that means I can also finally add a
progress indicator for them.

Change installation instructions to note that there's no dists directory
anymore on CDROMs.
1996-12-14 22:23:37 +00:00
Joerg Wunsch
8673b25d44 Document the required procedure to install on an HP Netserver with
on-board EISA AIC7xxx controller, including a pointer to the
respective FAQ entry.
1996-12-14 18:08:46 +00:00
Jordan K. Hubbard
d17f0c47d4 Fix some very minor cosmetic cruft I couldn't help tweaking when
I went over the code.

Add shortcuts for addUser and addGroup, documenting same.

Add a password field for adduser and use no-echo string field for it.
This requires my latest libdialog changes (in RELENG_2_2 or -current) to work.
1996-12-14 16:24:01 +00:00
Jordan K. Hubbard
af3bab3687 700 now. :) 1996-12-12 23:12:44 +00:00
Jordan K. Hubbard
177baf1802 Fix trunctation of domainname. 1996-12-12 22:44:22 +00:00
Jordan K. Hubbard
3cd31ab739 Add some additional smarts for XFree86 configuration.
Fix a bogon I thought I fixed in the last commit.
1996-12-12 22:38:41 +00:00
Jordan K. Hubbard
40e60c63b3 Update these docs to more closely reflect reality. 1996-12-12 20:03:35 +00:00
Jordan K. Hubbard
e050c77612 Allocate more inodes for general use now that we have the room. 1996-12-12 19:46:21 +00:00
Jordan K. Hubbard
6258ab4afc smart-alec error checking. 1996-12-12 16:55:37 +00:00
Jordan K. Hubbard
7fc8e1ba84 Nuke extraneous section. 1996-12-12 11:12:42 +00:00
Jordan K. Hubbard
a674766556 Whups, remove relic from close method going away. 1996-12-12 08:36:25 +00:00
Jordan K. Hubbard
0da9521b5a Undo one of my memory optimization hacks - it actually made things more
complicated.
1996-12-12 08:33:38 +00:00
Jordan K. Hubbard
d62f165304 Fix some bogons in my close() handling. 1996-12-12 08:23:51 +00:00
Jordan K. Hubbard
0a0e709620 Cosmetic tweaks, initialize a few variables, fix a reversed conditional. 1996-12-11 19:35:26 +00:00
Jordan K. Hubbard
32dc5e88bf Stomp the 4MB boot floppy and punt on 1.2MB floppy images. It's a battle
we're constantly losing and will concede for now.  Brilliant ideas
taken at the front desk.
1996-12-11 18:26:19 +00:00
Jordan K. Hubbard
86767547be Be more efficient in how we use memory (stumbled across while looking for
something else) for attributes and variables.

Remove stack-stomper in sstrncpy().
1996-12-11 18:23:19 +00:00
Jordan K. Hubbard
06e9f945df Whoops, add -lftpio 1996-12-11 10:13:31 +00:00
Jordan K. Hubbard
0fd6d431cf Do a few things I've been threatening to do for a long time:
1. Don't use the MSDOSFS code for accessing FreeBSD distribution data.
   Use Robert Nordier's stand-alone DOS I/O library for the purpose.
   It this works as well as Robert says it does, it should drastically reduce
   (or even eliminate) our "I can't install from my DOS partition!" calls.

2. As a result of the above, go to stdio file descriptors for all
   media types.

3. Taking advantage of #2, start using libftpio for FTP transfers instead
   of maintaining our own parallel version of the FTP transfer code.
   Yay!  I ripped something out for a change!

#1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
1996-12-11 09:35:06 +00:00
Joerg Wunsch
c381383f32 Update to benefit from David's recent changes to pw(8). The most
obvious effects are that most of the automagically chosen defaults
will now be displayed while going through the menu, and an improved
error handling thanks to the more detailed error status reporting.

2.2 fodder, but i'll leave it to Jordan's review.
1996-12-10 02:16:06 +00:00
Jordan K. Hubbard
a4ba0988d9 Set timeout interval to 0 in ppp so connections don't hang up while
we're doing something lengthy with the disk.
1996-12-09 15:16:36 +00:00
Joerg Wunsch
b0b4f32a68 Slightly improve the wording of a ``not yet there'' message. 1996-12-09 14:08:26 +00:00
Jordan K. Hubbard
00b69db338 As Paul has just pointed out, much of my strncpy() usage was either
bogus or overly complex and really needed to be done more consistently
and sanely throughout - no question about it.  Done.

Suggested-By: Paul Traina <pst@Shockwave.COM>
1996-12-09 08:22:19 +00:00
Jordan K. Hubbard
3f266859a3 Whups, missed two strcpy()s. 1996-12-09 06:45:03 +00:00
Jordan K. Hubbard
5153026dfc Eliminate great evil in the networking code. That's all I'm gonna say. 1996-12-09 06:37:46 +00:00
Jordan K. Hubbard
325403f959 Add Joerg's user management screen for David Nugent's pw(8) program, something
which will also need to be brought in before this screen will work.

Add some commentary about how the slip startup code is bogus.

Steal Joerg's loop for more properly closing all files and graft it into
the EHS startup.  My loop was functional but more bogus.
1996-12-09 06:02:36 +00:00
Joerg Wunsch
ed228eb646 Another fixit improvement: add a lame script that pretends to be
tar(1), but actually uses cpio(1).  Many people are getting confused
about the lack of a tar on the fixit floppy, and simply don't know
that cpio can basically handle tar format fine (or they simply don't
know how to invoke cpio).
1996-12-08 18:21:30 +00:00
Jordan K. Hubbard
ba5555f0e6 Several areas of improvement:
o Incorporate some of Tatsumi's bug fixes.
	o Remove the xperimnt and commerce distribution items; they haven't
	  been actual distributions for awhile.
	o Try to sanitize the device checking code a little more.
	o Cosmetic work on the network code.
1996-12-08 12:27:58 +00:00
Jordan K. Hubbard
b4a24ca1f0 Don't run routed by default.
Virtually-Demanded-At-Gunpoint-By: joerg
1996-12-02 05:01:02 +00:00
Joerg Wunsch
661a46b5a1 Simplify the disklabel trickery, and thus avoid the dreaded
``Operation not supported by device''.

Requested by:	jkh
1996-12-01 17:19:29 +00:00
Jordan K. Hubbard
a2a3d9f413 Move configResolv() to *after* the chroot(). This is what was causing
NFS installation to fail the first time.  This will go into 2.2.
1996-12-01 12:27:36 +00:00
Jordan K. Hubbard
ab9a6af1c4 Change boolean nature of "router" variable since it's not a boolean
anymore.
Noticed-By: joerg
1996-11-29 23:52:20 +00:00
Jordan K. Hubbard
cc66af5234 More involved description for fe0 driver using cards. Closes PR#2099.
Submitted-By: seki@sysrap.cs.fujitsu.co.jp
1996-11-29 07:19:57 +00:00
Jordan K. Hubbard
4c9f09c0ab Add a new feature which Garrett pointed out. 1996-11-29 04:55:47 +00:00
Joerg Wunsch
c539d1dc8c Few fixit improvements:
. hint about the usability of the arrow keys,
. export TAPE to an obscure dev node so mt(1) will work correctly.
1996-11-28 08:56:43 +00:00
Poul-Henning Kamp
f8d8dfe86e Try to impreve DD mode.
Try to make 4Mb floppies work again.
1996-11-27 22:52:34 +00:00
Jordan K. Hubbard
d8c4fd0c82 Correct some typos relating to PC98 server selection.
Submitted-By: HOSOKAWA Tatsumi <hosokawa@mt.cs.keio.ac.jp>
1996-11-27 12:44:43 +00:00
Jordan K. Hubbard
2afa9e7fcd o Update for upcoming BETA release of 2.2
o Fix Adaptec controllers description error, spotted by Richard Wiwatowski
  <rjwiwat@adelaide.on.net>
1996-11-27 01:44:57 +00:00
Joerg Wunsch
4b8d17f492 Open devices read-only to test whether they are available. This
allows to use write-protected tapes...
1996-11-27 01:01:52 +00:00
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
Joerg Wunsch
a18763d01c Comment out the setting of PATH in /dev/MAKEDEV on the fixit floppy.
It's entirely useless there.

Observed by:	andreas

Make the pre-existance of /R/stage/dists/compat* non-fatal, so
`make rerelease' won't fall over.
1996-11-16 22:40:59 +00:00
Jordan K. Hubbard
7032f80768 Fix a bogon in my new release.10 target.
Submitted-By: John Hay <jhay@mikom.csir.co.za>
1996-11-15 22:16:09 +00:00
Jordan K. Hubbard
532c723611 Add vx to list of devices. 1996-11-15 19:53:08 +00:00
Jordan K. Hubbard
2abbffda39 Bring in Rod's definitive information on BOCA boards. 1996-11-15 18:44:02 +00:00
Jordan K. Hubbard
f94608ce64 Mention supported AMD NICs and SCSI/NIC combos.
Elimiate tabs.

Submitted-By: se
1996-11-15 07:06:58 +00:00
Jordan K. Hubbard
6de055cb9c List more info on supported NCR controllers.
Submitted-By: se
1996-11-15 07:02:08 +00:00
Jordan K. Hubbard
180a6270a7 Ammend the BOCA entry again to list multiple board types. 1996-11-15 07:00:58 +00:00
Jordan K. Hubbard
83a856baa6 Merge. 1996-11-14 16:24:34 +00:00
Jordan K. Hubbard
543dc918b7 Add notes on Stallion boards.
Submitted-By: sos
1996-11-14 14:51:16 +00:00
Jordan K. Hubbard
46618c230e Add a bunch more miscellaneous bits of hardware.
Submitted-By: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1996-11-14 14:50:29 +00:00
Andreas Klemm
f1a03fb628 Add a note, that vn driver has to be compiled into the kernel. 1996-11-14 14:23:53 +00:00
Jordan K. Hubbard
689c50c00d Add Sujal Patel to list of developers - whoops! I've no idea how
he slipped through the cracks; sorry, Sujal!

This should go into 2.2.
1996-11-14 05:47:39 +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
dc3d7ece3a I'm feeling charitable, so I'll save the bloatists some valuable wind:
BLOAT! BLOAT! BLOAT! BLOAT!

Yes, but where else to put these stinking compat distributions.  I, for one,
am bone tired of creating them by hand and then having everyone tell me I left
something out/in.  Now any commiter can adjust the list as necessary, and I
forsee this as being so seldom necessary that I've simply committed the
uuencoded tarballs - these are from the last SNAP, and nobody complained
(for once) about that set.
1996-11-13 13:40:47 +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
5bcf2bc466 Bump BOOTMFSSIZE. 1996-11-12 19:18:05 +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
Poul-Henning Kamp
849635f6c0 Save some time. 1996-11-12 15:40:52 +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
627ba2cd2b Merge from the 2.2 branch: call our `vi' by its right name.
Detected by:	jkh
1996-11-09 12:08:57 +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
891ccbd5b7 Purely cosmetic cleanup. 1996-11-09 09:24:30 +00:00
Jordan K. Hubbard
ac0a526843 Remove a mkdir in doTARBALL which, as far as I can tell, is not needed
for anything.
1996-11-08 19:09:45 +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
Joerg Wunsch
cd6f582031 Merge my vi hack^H^H^H^Hframework into HEAD, so the various revisions
should be in sync again.  It's an env variable only, hence it's
harmless and ignored without the actual changes in vi's Makefile.

Suggested by:	jkh
1996-11-07 14:50:28 +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
Joerg Wunsch
5bb883669b Make `make release' fail if crunchgen failed. 1996-11-03 14:39:18 +00:00
Joerg Wunsch
ba99b43e2c `make release' was checking out the new source code into $CVSROOT
which i figure is probably not what was intended. :-)
1996-11-03 08:52:31 +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
Jordan K. Hubbard
e7fc885e08 Add cmd to prototype services file so rrestore can work.
Suggested-By: Andrew Heybey <ath@bellcore.com>
1996-11-02 18:58:07 +00:00
John Hay
874f1e42a7 Note the support for the SDL RISCom/N2pci cards.
Move myself from the list of helpers and beta testers to the development
team.
1996-10-30 18:57:46 +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
259ca3990b Mondo-merge of new 2.2 installation technology. 1996-10-15 17:04: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
e09f622ecc Adjust the boot-time userconfig options to match reality. 1996-10-14 13:29:40 +00:00
Jordan K. Hubbard
4b164f9ddd Adjust release notes for upcoming re-SNAP. 1996-10-13 01:53:24 +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
e5ef3eec57 Add note about SYN fix. 1996-10-07 04:43:01 +00:00
Jordan K. Hubbard
581eec05b8 Add -lcrypt for new ppp changes. 1996-10-07 04:16:36 +00:00
Wolfram Schneider
8607faf466 correct spelling of 'X Window System' (tm) 1996-10-06 17:59:28 +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
f793c4ba5c *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
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
ed438602b1 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
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
61b18ede9e 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
Jordan K. Hubbard
b434db2353 OK, *now* the symbol file is being generated in the correct place. 1996-10-05 13:10:01 +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
318b6e2bd3 Correct a misuse of the GENERIC kernel where I should have referenced
the BOOTMFS kernel instead.
1996-10-05 07:46:54 +00:00
Jordan K. Hubbard
d98685782b Fix bogon with kernel name. 1996-10-05 06:10:58 +00:00
Jordan K. Hubbard
c358d51efd Add stuff to CLEANFILES. 1996-10-05 06:04:03 +00:00
Jordan K. Hubbard
0c403adad4 Yet Another Bogon Fix. 1996-10-05 05:51:12 +00:00
Jordan K. Hubbard
0d7bf83437 Simplify the compiled-in nlist case a bit by naming the structures
the same.
1996-10-05 02:12:35 +00:00
Jordan K. Hubbard
48a13090be Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
Jordan K. Hubbard
19d06873fb Whoops! Fix a stupid bogon. 1996-10-04 14:25:23 +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
f8ec2c99b0 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
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
35268d22b6 Doc updates for next SNAP. 1996-10-02 00:26:36 +00:00
Jordan K. Hubbard
8ac5386905 Update some docs. 1996-10-01 14:17:58 +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
Paul Traina
d49839662d 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
Paul Traina
42a69230b9 Fix a typo in phk's rawboot conversion 1996-09-25 00:43:23 +00:00
Jordan K. Hubbard
3e8947d7aa Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
Jordan K. Hubbard
bb8ba0e06e 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