Commit Graph

1132 Commits

Author SHA1 Message Date
jkh
1e10a42711 Round 2.5 1996-10-01 14:08:28 +00:00
jkh
6fc0c31c3f Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
jkh
9e5972340b Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
jkh
e38dfc28b6 Correct a minor misspelling.
Noticed-by: der
1996-09-29 10:03:30 +00:00
pst
62d70d7bef 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
c48d91002b 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
b8c760157a 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
b67d08af4a 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
ece618e3e6 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
f539b0ea3d Fix a typo in phk's rawboot conversion 1996-09-25 00:43:23 +00:00
jkh
4416080b40 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
jkh
139585107e 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
7e63edd4bc Use rawboot for boot floppies. 1996-09-19 08:35:41 +00:00
jkh
fc55866b21 Don't call copySelf() when upgrading. 1996-09-18 18:40:37 +00:00
jkh
2b662b3cee 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
1ee2f41482 Turn off KTRACE on MFS boot floppy. 1996-09-09 21:25:40 +00:00
jkh
50de073cf3 Various minor improvements. 1996-09-08 01:39:25 +00:00
pst
e111ac96ab Add support for CVSROOT/INTCVSROOT as simple makefile variables.
Reviewed by: jkh
1996-09-07 01:05:16 +00:00
jkh
953635c797 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
3d73a083a0 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
7fcc118cdf Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +00:00
julian
c55631791d 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
a150f10760 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
c738ac8611 Don't stick CD distributions under dists/ directory. 1996-08-03 06:49:00 +00:00
jkh
a876e03162 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00
jkh
64c179f3d4 Fix an embarassing bogon in the key input code. I'll roll another snap
boot floppy for this one..
1996-08-03 05:25:56 +00:00
pst
47b08db454 Add optional support for separate international CVS repository 1996-08-02 18:19:47 +00:00
jkh
a9d8f65f49 Whoops! VTYs return zero values for TIOCGSIZE! Work around this. 1996-08-01 13:47:03 +00:00
jkh
e4cfeaa689 Don't query DNS if we haven't got it configured. 1996-08-01 12:59:54 +00:00
jkh
9f283d4357 Handle SIGPIPE in a couple of crucial places. 1996-08-01 12:35:51 +00:00
jkh
435e6170fb Purely cosmetic tweaks. 1996-08-01 12:02:26 +00:00
jkh
f9a2c3997c Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
jkh
7ddd073de8 Close PR#1542. Don't just assume 24 lines, get the tty size.
Some things may still display text on the 24th line, but that's because
they've always been screens designed to fit into a minimal real-estate
and have hardwired assumptions about the dimensions.  They'll be a little
harder to make dynamic.
1996-08-01 10:58:54 +00:00
jkh
66a0dca67a Add a required save/restore 1996-07-31 14:49:20 +00:00
jkh
1b3aa0186b Try again. 1996-07-31 10:55:19 +00:00
jkh
efa3bb0eb3 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
jkh
d345a443bf Prevent Geometry warning messages when the disk is already "dedicated" 1996-07-31 09:10:39 +00:00
jkh
704badacde More minor tweaks (that I'm trying to get into the SNAP). 1996-07-31 06:41:29 +00:00
jkh
8ea64a578d Detect which partitions have already been created with `auto' so as not to create them
twice.

Various cosmetic tweaks.
1996-07-31 06:20:59 +00:00
jkh
eed1defc36 link chgrp to chown, don't list it as a binary 1996-07-31 05:21:20 +00:00
jkh
373bd487aa Add chgrp to fixit, closes PR#1342 1996-07-29 09:17:12 +00:00
jkh
f809812aff Update samba install to agree with new port. 1996-07-26 08:39:06 +00:00
jkh
13149cdb29 Fix some bogus argument handling - whups! James was right.. 1996-07-22 18:43:21 +00:00
jkh
0012923091 1. Fix the CD installation bogon for Novice install I mentioned.
2. Add some code for dealing with a ports collection on the second CD now.
1996-07-16 17:11:45 +00:00
jkh
00cbe91b26 Damn - looks like upgrade got broken along the way and it's not something
I usually test, so... :-(  Guess we'll have to slide the tag forward on
these two files - Peter, could you do the honors?  I've been up for the last
30 hours or so and I just *know* that any attempt on my part to do this would
probably end up deleting the entire repository somehow. :-)
1996-07-14 01:54:39 +00:00
jkh
5dbf9ab070 Upgrade Apache to 1.1.1. 1996-07-13 06:05:42 +00:00
jkh
4857b4d048 Make CD version clash non-fatal. 1996-07-13 05:48:44 +00:00
jkh
d0e8e4a2c5 Back out my change for Peter which did transfer timings based on current
chunk rather than distribution - it's just caused the numbers to fluctuate
too wildly, sorry Peter! ;-(
1996-07-13 05:44:51 +00:00
jkh
c597f9dda1 Fix a bogon in the Novice mode CD auto-selection. 1996-07-13 05:13:25 +00:00
jkh
b26a3ad043 Fix EBUSY checking in devices.c - DTRT when it's detected on a CD. 1996-07-13 05:09:29 +00:00
jkh
225af85c05 Remove some suspect sector size calculations which are also the source
of some confusing messages from newfs (just judging by the number of people
who point them out, anyway).
1996-07-12 15:24:49 +00:00
jkh
f3f9c53d3c Fix something I broke with CDROM installation (well, I knew my first
test CD would turn at least one bug up :-).
1996-07-12 11:14:15 +00:00
jkh
942d376c96 Make the menu height calculation actually work.
Make a menu more self-explanatory at user request.
1996-07-11 18:37:48 +00:00
jkh
acab5c95a7 Better error checking in helpfile expander.
Tart up some of the output a little.
1996-07-10 11:38:29 +00:00
jkh
acb70e2259 Document new GENERIC 1996-07-10 09:41:18 +00:00
markm
6657e9c518 libgcc.so.261.0 is moving to the compat20 dist.
OKed by: jkh
1996-07-10 06:36:33 +00:00
jkh
f0d289f17c Put samba configuration in the right place. 1996-07-10 04:52:27 +00:00
jkh
c8cb392655 Try to prevent the status line from jumping around quite so much. 1996-07-09 16:57:14 +00:00
jkh
47d025a11c Some release changes I've had to make in dealing with the floppy space
crisis.
1996-07-09 16:52:53 +00:00
jkh
26a30b6eb7 Take compat dists out of the canned set - they seem to do more harm
than good, actually, and those who actually need them can select them.
1996-07-09 16:29:00 +00:00
jkh
79e1062a56 Update docs to match. 1996-07-09 14:34:58 +00:00
jkh
74b3877fe8 A number of improvements in the way statistics are printed, add a "chroot"
option for installing distributions and/or packages to somewhere other than /,
say for a case where you're installing to an external disk on some other
machine's behalf.  More miscellaneous fixes to various problems I stumbled
across while adding this stuff.
1996-07-09 14:28:22 +00:00
jkh
4965ca3344 Merge 1996-07-09 11:26:00 +00:00
jkh
68e945601d Don't freak out at the lack of root/swap/usr if we're running multiuser
and simply adding another disk.
1996-07-09 07:17:03 +00:00
jkh
a4edec8c4b Eradicate more lurking bogons. 1996-07-09 03:07:51 +00:00
jkh
128b48f041 Update the documentation here and there. 1996-07-08 12:00:47 +00:00
jkh
eeb3c0cadb Same tweak. 1996-07-08 11:07:08 +00:00
jkh
e3e653a00b Fix even more lurking bogons - why do I never find these until the last
possible minute? :-)
1996-07-08 10:08:22 +00:00
jkh
7315939135 Whoops! Now that I'm decompressing docs into /tmp, it's important to
make sure that /tmp is there first! :-)  While I'm at it, clean up the
somewhat inexplicably bogus Mkdir() function.
1996-07-08 08:54:36 +00:00
jkh
02de9a99c9 Fix a longstanding FTP login name bogon I just noticed again. 1996-07-06 02:03:47 +00:00
jkh
a285e48b57 Bump value for MFSINODE 1996-07-05 21:48:49 +00:00
jkh
c37fce7e43 Compress the doc files. 1996-07-05 08:53:54 +00:00
jkh
5c7fe0a72a Support compressed doc files again.
Add a few strategic screen clears.
Do a lot less wasted screen I/O in restoring screen contents that don't need
restoring.
Use tar instead of cp to back up /etc in installUpdate.
Don't panic when upgrade shell exits.
1996-07-05 08:36:02 +00:00
jkh
6a22d90fda Update docs (more specifically to -current). 1996-07-05 01:24:41 +00:00
jkh
5513142d9c Fix some minor reported bogons from the BETA 1996-07-04 23:12:05 +00:00
jkh
61386f775a Untabify. 1996-07-02 10:59:26 +00:00
jkh
8c06ca329b Document shortcuts.
Fix a bug which prevented variables from working properly
1996-07-02 10:57:58 +00:00
jkh
e697fd9fd2 Add an extra /etc/hosts entry per advice of Joerg. 1996-07-02 09:12:34 +00:00
jkh
a953741c5d Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
jkh
301caf12fc Try to encourage people to read the hardware guide a little more. 1996-07-01 02:48:42 +00:00
jkh
4d4aeb7b04 Fix last mod date. 1996-07-01 02:43:43 +00:00
jkh
7426e4bbc8 Update the Lynx version number. 1996-06-29 03:49:39 +00:00
jkh
974442fb7c Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00
jkh
d1c5935860 Sync with 2.1-stable (I commited my changes there first by mistake due to
an errant CVS tag file).
1996-06-29 02:53:09 +00:00
jkh
88fec0b679 Copy the documentation files up into the release area - I've been doing
this by hand all along.  Silly.
1996-06-29 02:22:48 +00:00
jkh
25480a4425 Document the fact that changes with -c need to be made twice at install
time (once for floppy, once for initial boot).
1996-06-28 22:03:18 +00:00
jkh
5e293d1c59 Add credit to Calweb for the P6 we used to build packages. 1996-06-27 07:13:45 +00:00
jkh
4ccbf5875d Add 3rd South Africa mirror. 1996-06-27 07:03:44 +00:00
jkh
29897077fc Correct minor syntactical error. 1996-06-26 19:06:11 +00:00
jkh
84c4f7b320 Allow argv[0] to be a command also. 1996-06-26 09:09:30 +00:00
jkh
4ba2f839d6 Fix another obj-misusage bogon. This will all get revisited for
2.2-release (and this file beaten on with a crowbar, as it so richly
deserves).
1996-06-26 01:24:54 +00:00
jkh
c00ebcfd3f Adjust documentation for 2.1.5 1996-06-25 19:05:49 +00:00
jkh
2487d76066 Make "Fake" turn off more potentially system-nuking options. 1996-06-25 18:41:10 +00:00
jkh
f76d01b1ee Handle tabs in INDEX files.
Display full, un-truncated version of description in status line.
1996-06-25 04:28:23 +00:00
jkh
e693c16dd8 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
jkh
8fbcaa4c6f ack - left in a typo. Time for bed! 1996-06-17 23:04:24 +00:00
jkh
0b3c4a0d76 Init network at proper time. 1996-06-17 21:48:33 +00:00
jkh
f00792c034 Whups! Slight adjustment. 1996-06-17 19:33:27 +00:00
jkh
7e84aac6fa Add more items to the glossary menu and reformat it slightly. 1996-06-17 19:31:34 +00:00
jkh
b38d21ac89 Add a top level function index. 1996-06-16 23:17:35 +00:00
jkh
cd9edbdbf9 Check network status earlier in FTP/NFS installs in order to reduce
user frustration.
1996-06-16 21:57:35 +00:00
jkh
63d719dc91 Change default user/group to ones that actually exist in default passwd
file.
1996-06-15 17:58:51 +00:00
jkh
8be0f0b6ed Add a strategic dialog_clear(). 1996-06-15 16:09:21 +00:00
jkh
a3c3b7ab11 Make the CDROM auto-detection code a little more flexible about accepting
old CDs.
1996-06-14 18:23:26 +00:00
jkh
0b4f57db09 Don't use some of the low-contrast text attributes I was using before - they
apparently look bad on some LCD screens.  While I'm in there, tweak and adjust
a number of other minor interface details which have been bothering me for
awhile.
1996-06-14 14:34:03 +00:00
jkh
4846cd0a6b Make the editor work again and we're done. 1996-06-13 17:36:28 +00:00
jkh
0b28a882bc Uh, this is what I was really thinking when I made the device registration
changes - honest! :-)
1996-06-13 17:07:41 +00:00
jkh
e6ea6cdfee Correct some embarassing 3am english. 1996-06-13 13:45:16 +00:00
jkh
e8c38c6556 Ok, NOW the install.sh scripts are installed correctly! 1996-06-13 09:35:16 +00:00
jkh
f374d44e84 Correct a small typo in the Makefile. 1996-06-13 01:57:48 +00:00
jkh
9caddcb070 Fix broken sysinstall check. 1996-06-12 17:29:45 +00:00
jkh
0f1f223e21 Dispense with the special case handling of cuaa* devices by synthesizing
separate entries for sl0 and ppp0 on each device.
1996-06-12 17:09:34 +00:00
jkh
e4fbdb41d7 Automatically add install.sh scripts to dists. 1996-06-12 16:32:16 +00:00
jkh
ac86617459 Some stuff I left out of the last commit - make toggle options toggle
again instead of simply letting you set them and staying that way forever.
1996-06-12 14:20:20 +00:00
jkh
1c7bdcf987 Fix a truly stupid bug which broke the package installation menu
for everything _but_ the multi-user case now (it was the opposite before :-).
That means adding packages with the 2.2-960511-SNAP boot floppy is busted. Feh.
1996-06-12 14:02:13 +00:00
jkh
941172abac handle a message box which can potentially go past 80 cols. 1996-06-12 07:03:44 +00:00
jkh
6894d9a878 Update for the next SNAP. 1996-06-11 15:39:53 +00:00
jkh
51d1728214 Put in a strategic dialog_clear() to prevent screen corruption reported
by Joerg.
1996-06-11 13:07:57 +00:00
jkh
e207b15627 Change some verbiage slightly. 1996-06-11 10:16:53 +00:00
jkh
12eb8bd5bb A slight error in my logic had me using color text attributes on Hercules
monochrome displays.  Whoops!  Fix.
1996-06-11 09:47:30 +00:00
jkh
a6ed36e47a Misc doc cleanup. 1996-06-11 08:02:09 +00:00
jkh
8666298917 Come up with a scheme for stamping the FreeBSD version number on CDs,
allowing sysinstall to automagically detect, mount and select an
appropriate FreeBSD CDROM as the installation media.  Defining "appropriate"
also requires that you check the version numbers since an older FreeBSD
CD could be in the drive, which is the purpose of this patch.
1996-06-11 05:06:32 +00:00
jkh
159895d8d9 Finally get this back into shape following my incorporation of Garrett's
enhancements.
1996-06-08 22:55:25 +00:00
jkh
98f7a0f774 Don't cache local copy of "Powered by FreeBSD" logo - use the project
one (we're out of space for putting this on the floppy).
1996-06-08 12:01:25 +00:00
jkh
8a37c97521 Implement selective text attributes for the syscons vty / vt100 emulator
selection since an attribute which looks good on a color console doesn't
necessarily look good in an xterm.
1996-06-08 09:08:51 +00:00
jkh
fdecebaa0a Put back some changes I inadvertantly spammed with a cvs update. 1996-06-08 08:01:52 +00:00
jkh
1cf95406da Merge changes from HEAD. 1996-06-08 07:15:55 +00:00
jkh
1d0b70fde3 Make CDROMs automagically select as the default media type.
If you're running multi-user, check off items in the packages menu
based on whether or not they're actually installed.
1996-06-08 07:02:21 +00:00
jkh
5ebc03aa39 Various fixes, take power.uu out as it was causing overflows. We'll
need to fetch it dynamically rather than keep it in the source tree
(subject of a follow-up commit).
1996-06-07 11:46:19 +00:00
jkh
3546da898c Allow user to selectively redo any given part of the release in `rerelease'.
Create smaller BOOTMFS kernel with more sane sed command rather than fgrep/sed
Make it possible to generate multiple kernels with the KERNELS variable.
Add mtree generated distribution signatures to dists.
1996-06-06 10:13:32 +00:00
jkh
2f109e106d Put .inf files directly into distributions so that sysinstall can find them. 1996-05-29 04:13:17 +00:00
jkh
ff29351054 Fix some minor formatting dreck. 1996-05-29 03:27:31 +00:00
jkh
994c6a9cb1 Sha-ZAM!
The root floppy is now gone.  I shall not mourn its passing.
Everything we need is on boot.flp or the bindist.
1996-05-29 01:35:33 +00:00
jkh
06e6556f19 Very small semantic change. 1996-05-28 23:31:20 +00:00
jkh
e1664a9920 Only look at command-line args if we're not running as init - duh!
Thanks, David.
1996-05-28 18:30:30 +00:00
jkh
9c8f798c16 Catch and DTRT with SIGPIPE 1996-05-27 22:12:05 +00:00
bde
cd8bcb6083 Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
bde
e76b8b78f2 Fixed SRCS so that `make depend' works. 1996-05-24 15:33:25 +00:00
jkh
11fb58e39c Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better
idea if your link has crashed or is behaving oddly.
1996-05-23 16:34:30 +00:00
jkh
b96a3a1896 Remove some harmless 3am hacking artifacts. 1996-05-23 11:50:11 +00:00
jkh
27cad58470 Remove a particularly annoying confirmation dialog. 1996-05-21 15:57:21 +00:00
julian
a49a433b92 stand alone (kinda) floppy generation..
you still need tohave done a make world and have made 'sysinstall'
this should not interfere with existing code as it's standalone.
write_mfs_in_kernel.c is duplicated alsewhere.. one will go ..
1996-05-21 01:12:48 +00:00
jkh
faac9e56ad Correct device list. 1996-05-16 20:06:14 +00:00
jkh
f0650b170d Rethink the previous X distribution change. Including COMPAT_21 is just
bogus, and I think I'll simply see that the X distribtion is rebuilt for
-current before doing another snapshot for it. :-)
1996-05-16 13:39:08 +00:00
jkh
c930abb7de Get X user and X developer distributions checked correctly again in menus.
Oh yeah, last commit also fixed (I hope) the /etc/sysinstall not being
written on Custom installation problem.
1996-05-16 13:30:24 +00:00
jkh
a7e3c5bdcb Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).

Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install.  A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'

Fix bogon where upgrade shell was entered with tty modes spammed.

Fix bug with release name checking in ftp_strat.  Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
1996-05-16 11:47:46 +00:00
jkh
8ad4262a4f Simply comment-out BUILDNAME and CHROOTDIR - they should be set at the time of
make's invocation.
1996-05-16 03:20:52 +00:00
jkh
9420d51426 More informative command sequence for creating UFS floppies.
Submitted by:	harold barker <hbarker@dsms.com>
1996-05-13 07:12:27 +00:00
jkh
0a48a1418d Some cosmetic changes:
Make "selection bar" inverse video white-on-blue on color screens to avoid
it getting muddled up with popup dialogs.

Do disk selection in a more friendly fashion (for one thing, allow a
drive to be de-selected again if you change your mind).

Add a few strategic screen-saves to prevent corruption of screen contents
(thanks, Michael Elbel!).
1996-05-09 09:42:17 +00:00
jkh
c2b754ad79 Bring in some changes to make the FTP installation warn you if it can't
find the requested release on a given site.
1996-05-05 21:54:23 +00:00