Commit Graph

31 Commits

Author SHA1 Message Date
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 6258ab4afc smart-alec error checking. 1996-12-12 16:55:37 +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 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 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
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 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 23c0fda959 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
Jordan K. Hubbard fc8cb16597 Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +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 6bcca21f51 Make CD version clash non-fatal. 1996-07-13 05:48:44 +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 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 cf1647cd2f 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
Jordan K. Hubbard 59fed81d91 Make the CDROM auto-detection code a little more flexible about accepting
old CDs.
1996-06-14 18:23:26 +00:00
Jordan K. Hubbard 3ee8cec854 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
Jordan K. Hubbard 7b0a4c23a4 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
Jordan K. Hubbard 2113a60c4b Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters.  I've tried restoring the screen, the cursor position, you name
it - same deal.  Grrrr!  This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!
1996-04-23 01:29:35 +00:00
Jordan K. Hubbard af4cbec4e1 1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.
1996-04-13 13:32:15 +00:00
Jordan K. Hubbard 40ae4689df Lots of fixes:
1. Revamp package installer to use new dependency lists and also
   pkg_add's new `read from stdin' mode to prevent a copy of the package
   from hitting the disk unnecessarily.

2. More fixes for running "not as init" - don't get upset if CDROM already
   mounted, do the right thing instead.

3. If running as init, assume first-time install and _don't show the
   (W)rite option in the fdisk screen.

4. Many other little tweaks, some of which will have to wait for fuller testing
   until I can create a boot floppy (testing certain system-destroying
   features of sysinstall can be a royal pain).  Expect some more commits.
1996-03-18 15:28:10 +00:00
Jordan K. Hubbard e07e86d046 Miscellaneous cleanup before big round of menu restructuring (to use new
libdialog features).
1996-03-02 07:31:58 +00:00
Peter Wemm 40b0c0d936 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
Peter Wemm 5326bef3de This mega-commit brings in Jordan's latest sysinstall version..
This looks like it was developed offline, and is being spammed over the
top of the existing.  "That's fine by me!  I dont really care how you do
it, just get it in there..." said Jordan in a conversation a short while
ago...
1995-09-18 16:53:06 +00:00
Rodney W. Grimes d3628763db Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Rodney W. Grimes e5370bd7fe Remove trailing whitespace. 1995-05-30 08:29:07 +00:00
Jordan K. Hubbard 8fdde019ad Sync up my work for the night. This should implement ALL possible
installation methods and provide a fairly robust set of menu options.
This should also fix a few more bugs on Poul-Henning's latest gripe
list.
1995-05-29 11:01:42 +00:00
Poul-Henning Kamp e9f7e74946 cdrom.c: try "cdrom/%s" then "cdrom/dists/%s"
dist.c: fix an error message to make more sense.
1995-05-28 07:05:21 +00:00
Jordan K. Hubbard 337bd0b846 Humanize Poul-Henning's code. Status values should be properly
respected now.
1995-05-28 03:05:06 +00:00
Poul-Henning Kamp 25fce75ee4 Major cleanup. Mediaroutines now get asked about a file. All the
multi part stuff centralized.
The final check is backwards or something so it always said it failed,
even it it didn't.
Fixed tcpip address check to not be stupid, 10.0.255.1 is legal.
1995-05-27 23:39:35 +00:00
Jordan K. Hubbard ba5d6a864b Things were getting seriously hard to find. Do a quick reorg pass over
the code and split things into more logical groupings.
1995-05-27 10:39:04 +00:00