summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/package.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix various bogons reported in this PR.jkh1997-10-151-4/+5
| | | | | PR: 4765 Submitted by: fdiv
* Put all variables in VAR_ #define's to force a single location for allpst1997-09-171-2/+2
| | | | | of these magic knobs. This is purely cosmetic and a documentation issue so we don't have to glop through the source code looking for gems.
* MF22: pst's changes.jkh1997-09-161-3/+6
| | | | Submitted by: pst
* YAMF22jkh1997-06-131-1/+16
|
* YAMF22jkh1997-03-221-8/+20
|
* Merge all my sysinstall changes over to the 2.1 branch.jkh1997-03-111-19/+7
| | | | I just have this feeling... :)
* YAMF22jkh1997-03-081-6/+2
|
* Don't bogotify pkg_add's stderr.jkh1997-02-141-2/+2
|
* Revert some of the previous change - on second thought...jkh1997-02-141-6/+18
|
* o Try to be more aggressive about reading in old configuration datajkh1997-02-141-20/+11
| | | | | | | | | | | | | | | | | so that we're more useful in multi-user mode. This is still not 100%, but it pulls in a lot more than it used to. Some of the "composite" variables in /etc/sysconfig are going to take more work. o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do so. o Reset media properly when reselecting. Longstanding bogon. o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle this differently shortly. o Fix bug where cancel in TCP setup dialog still checked data fields. I think this closes a PR, but I will have to go look.
* It's easier to go forwards than backwards with this, and the RELENG_2_1_0jkh1997-02-071-1/+1
| | | | | sysinstall was already broken (I think there's a PR for this somewhere). This will require some additional changes elsewhere, like bringing in pw.
* Cosmetic tweaks.jkh1997-01-291-2/+2
| | | | Also redirect stderr to Debug when running multiuser.
* OK, I've got two ideas to file in the "really seemed like a good ideajkh1997-01-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Do something I've wanted to do for quite some time - collapse all thejkh1997-01-031-5/+2
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-7/+8
| | | | | | | | | | | | | | | | 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>
* Use macros for package names so it's easier to update them in onejkh1996-11-041-5/+5
| | | | | | | 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.
* Some cosmetic tweaks, attempt to fix package wait problem by checkingjkh1996-10-121-2/+2
| | | | | for error return as well (not sure if this is it, but it's one possible explanation).
* Better PKG_TMPDIR handling.jkh1996-10-061-3/+2
|
* Wait for any stray processes we might be sent while running as init.jkh1996-10-051-1/+5
| | | | | I have cautious hopes that this will fix the package installer zombie accumulation problem.
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-2/+2
| | | | judicious use of dialog_clear_norefresh().
* Handle SIGPIPE in a couple of crucial places.jkh1996-08-011-2/+2
|
* Better error checking in helpfile expander.jkh1996-07-101-2/+2
| | | | Tart up some of the output a little.
* A number of improvements in the way statistics are printed, add a "chroot"jkh1996-07-091-2/+3
| | | | | | | 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.
* Whoops! Now that I'm decompressing docs into /tmp, it's important tojkh1996-07-081-3/+3
| | | | | make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function.
* Copy the documentation files up into the release area - I've been doingjkh1996-06-291-2/+5
| | | | this by hand all along. Silly.
* Handle tabs in INDEX files.jkh1996-06-251-4/+11
| | | | Display full, un-truncated version of description in status line.
* Catch and DTRT with SIGPIPEjkh1996-05-271-6/+24
|
* Have both distribution and package extraction screens display thejkh1996-05-231-13/+23
| | | | | transfer speed in KB/sec while fetching stuff; this gives you a better idea if your link has crashed or is behaving oddly.
* Fix some long-standing malloc bugs in the package handling code (freeing garbagejkh1996-05-161-5/+13
| | | | | | | | | | | | | 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().
* Add a missing close that left ftpd's scattered around on pkg_installsjkh1996-04-301-2/+3
|
* Make sure package-installers refresh the screen properly.jkh1996-04-301-3/+3
|
* Fix an ancient index list bug.jkh1996-04-281-3/+6
| | | | | Make FTP re-initializion work. Fix fix fix.
* Bring this into sync.jkh1996-04-231-5/+2
| | | | | | | | | | 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!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-14/+15
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major enhancements to the package adder (next step is to use the new dialogjkh1996-03-211-7/+10
| | | | | | functions to make the menus far less klunky, but one thing at a time). Fix bug that had debug output spewing uselessly on vty2 when running multiuser.
* Lots of fixes:jkh1996-03-181-167/+35
| | | | | | | | | | | | | | | | 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.
* mountdbtab -> mountdtab; whoops!jkh1995-12-041-1/+2
| | | | A small extra diagnostic for loading packages.
* More helpful error messages.jkh1995-11-121-3/+5
|
* Initialize ld.so.hints if necessary.jkh1995-11-121-1/+5
|
* Also set PKG_PATH when adding from media types other than FTP.jkh1995-11-101-6/+24
|
* Leave hints for pkg_add so that it can do dependency over FTP. Thisjkh1995-11-101-1/+8
| | | | | was formerly impossible due to the way pkg_add was insulated from where a package actually came from.
* Some general fixes for the package menu (still need to fix the "more than 10jkh1995-11-061-11/+26
| | | | | items checked bug though). Now allow user to specify a PKG_TMPDIR. If not selected, we try to make one.
* Last minute nits.jkh1995-10-271-2/+2
|
* Clean up some last bogons with the WEB server setup (now that I'm farjkh1995-10-271-2/+2
| | | | enough along to worry about such things!).
* o Fix installUpgrade to start the holographic shell as well.jkh1995-10-261-3/+3
| | | | | | | o Lots of documentation fixes. o Rename FTP active to "FTP" and explain passive mode better. o Make tcpip screen a bit more friendly. o Literally dozens of nits.
* Make upgrades actually work (thanks, Julian).jkh1995-10-241-2/+1
| | | | Many other bug fixes.
* Reshuffle the network config code a little so that it's actuallyjkh1995-10-231-4/+6
| | | | usable. Also fix the package extraction code.
* Don't use tar to add packages, use cpio in tar mode. Works better.jkh1995-10-221-25/+15
| | | | Make the apache setup try to load the package first..
* 1. Add Coranth Gryphon's Apache WWW server setup screen.jkh1995-10-221-8/+17
| | | | | | | | 2. Fix an infinite recursion bug in FTP retry. Tricky, this FTP install! 3. Add messaging routines for scripts. 4. Fix yet more bogons. I think I'm fixing them faster than they're growing, but it's hard to say. I'm really glad we're throwing this code away for 2.2!
OpenPOWER on IntegriCloud