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
Poul-Henning Kamp
990926996c
Use rawboot for boot floppies.
1996-09-19 08:35:41 +00:00
Jordan K. Hubbard
932fd2b2c2
Don't call copySelf() when upgrading.
1996-09-18 18:40:37 +00:00
Jordan K. Hubbard
4f68a706f2
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
Paul Traina
a7c2b4b01a
Turn off KTRACE on MFS boot floppy.
1996-09-09 21:25:40 +00:00
Jordan K. Hubbard
60b522b0a6
Various minor improvements.
1996-09-08 01:39:25 +00:00
Paul Traina
62bb21530c
Add support for CVSROOT/INTCVSROOT as simple makefile variables.
...
Reviewed by: jkh
1996-09-07 01:05:16 +00:00
Jordan K. Hubbard
1b455eeb3f
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
Jordan K. Hubbard
dc8b2dd7d1
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
Jordan K. Hubbard
fc8cb16597
Conditionalize some annoying debug statements, update the docs.
1996-08-23 07:56:06 +00:00
Julian Elischer
37dc8bea84
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
Jordan K. Hubbard
96a9d7fb41
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
Jordan K. Hubbard
2822939a71
Don't stick CD distributions under dists/ directory.
1996-08-03 06:49:00 +00:00
Jordan K. Hubbard
9a8104ec99
Make the same fix to the disk partition editor screen.
1996-08-03 05:29:24 +00:00
Jordan K. Hubbard
f48bd9cf9e
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
Paul Traina
3acfee7c84
Add optional support for separate international CVS repository
1996-08-02 18:19:47 +00:00
Jordan K. Hubbard
fa05dcb5ee
Whoops! VTYs return zero values for TIOCGSIZE! Work around this.
1996-08-01 13:47:03 +00:00
Jordan K. Hubbard
a0779fbe20
Don't query DNS if we haven't got it configured.
1996-08-01 12:59:54 +00:00
Jordan K. Hubbard
caa8175236
Handle SIGPIPE in a couple of crucial places.
1996-08-01 12:35:51 +00:00
Jordan K. Hubbard
4bd2df3a33
Purely cosmetic tweaks.
1996-08-01 12:02:26 +00:00
Jordan K. Hubbard
137a1bde43
Clean up the results from getch().
1996-08-01 11:39:49 +00:00
Jordan K. Hubbard
a19596c5a8
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
Jordan K. Hubbard
d47f2ceb53
Add a required save/restore
1996-07-31 14:49:20 +00:00
Jordan K. Hubbard
d4a5028b0c
Try again.
1996-07-31 10:55:19 +00:00
Jordan K. Hubbard
e8ebf53742
Don't munge keystrokes.
1996-07-31 09:29:35 +00:00
Jordan K. Hubbard
764f59345d
Prevent Geometry warning messages when the disk is already "dedicated"
1996-07-31 09:10:39 +00:00
Jordan K. Hubbard
09e5a706b7
More minor tweaks (that I'm trying to get into the SNAP).
1996-07-31 06:41:29 +00:00
Jordan K. Hubbard
e5034f83b0
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
Jordan K. Hubbard
7e33c72e6a
link chgrp to chown, don't list it as a binary
1996-07-31 05:21:20 +00:00
Jordan K. Hubbard
66f5888511
Add chgrp to fixit, closes PR#1342
1996-07-29 09:17:12 +00:00
Jordan K. Hubbard
1cc933d275
Update samba install to agree with new port.
1996-07-26 08:39:06 +00:00
Jordan K. Hubbard
c6a977a04d
Fix some bogus argument handling - whups! James was right..
1996-07-22 18:43:21 +00:00
Jordan K. Hubbard
94dfd13efe
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
Jordan K. Hubbard
e35a083cf9
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
Jordan K. Hubbard
c8ec0156ef
Upgrade Apache to 1.1.1.
1996-07-13 06:05:42 +00:00
Jordan K. Hubbard
6bcca21f51
Make CD version clash non-fatal.
1996-07-13 05:48:44 +00:00
Jordan K. Hubbard
a420652230
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
Jordan K. Hubbard
5cec7fa56a
Fix a bogon in the Novice mode CD auto-selection.
1996-07-13 05:13:25 +00:00
Jordan K. Hubbard
f6d3326b0c
Fix EBUSY checking in devices.c - DTRT when it's detected on a CD.
1996-07-13 05:09:29 +00:00
Jordan K. Hubbard
dab0e70808
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
Jordan K. Hubbard
10712e5198
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
Jordan K. Hubbard
bd5706a78a
Make the menu height calculation actually work.
...
Make a menu more self-explanatory at user request.
1996-07-11 18:37:48 +00:00
Jordan K. Hubbard
a0e34b44a2
Better error checking in helpfile expander.
...
Tart up some of the output a little.
1996-07-10 11:38:29 +00:00
Jordan K. Hubbard
8d8c0ae3e6
Document new GENERIC
1996-07-10 09:41:18 +00:00
Mark Murray
e90e57c0ce
libgcc.so.261.0 is moving to the compat20 dist.
...
OKed by: jkh
1996-07-10 06:36:33 +00:00
Jordan K. Hubbard
04577962b1
Put samba configuration in the right place.
1996-07-10 04:52:27 +00:00
Jordan K. Hubbard
7e2ea12650
Try to prevent the status line from jumping around quite so much.
1996-07-09 16:57:14 +00:00
Jordan K. Hubbard
ae33fac50c
Some release changes I've had to make in dealing with the floppy space
...
crisis.
1996-07-09 16:52:53 +00:00
Jordan K. Hubbard
2126fabccf
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
Jordan K. Hubbard
758aa0bcd0
Update docs to match.
1996-07-09 14:34:58 +00:00
Jordan K. Hubbard
8658743f95
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
Jordan K. Hubbard
bf1dbdb51d
Merge
1996-07-09 11:26:00 +00:00
Jordan K. Hubbard
b03b2096b8
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