summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/installUpgrade.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed the vestiges of modems(5).ru2002-11-271-1/+0
| | | | Approved by: re
* Change our default XF86Config location from /etc/ to /etc/X11/,obrien2002-06-101-1/+1
| | | | | | following the lead of The XFree86 Project's default. Approved by: Murray
* Change the name of the 'bin' distribution to 'base'.obrien2002-04-231-11/+11
| | | | | | | This is done since it contains much more than /bin, and also gets in the way when making a combined install+fixit CD. OK'ed by: jkh
* Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp.obrien2002-04-011-2/+2
|
* Add nsmb.conf to the resurrection list.sheldonh2001-12-271-0/+1
| | | | | Submitted by: olgeni Approved by: re
* sysinstall's binary upgrade option used to display the contents ofbmah2001-09-041-3/+5
| | | | | | | | | | | | UPGRADE.TXT along with a YesNo dialog requesting confirmation of the upgrade. During the transition to RELNOTESng, UPGRADE.TXT got folded into a file that eventually renders as INSTALL.TXT, which makes sysinstall complain about a non-existent file. As a solution/workaround, point the user at INSTALL.TXT, and then request confirmation. Noticed by: rpratt (on 4.4-RC3) Approved by: jkh
* Preserve /etc/hosts.allow and /etc/dhclient.conf during upgrades.jkh2001-08-311-0/+2
| | | | Noted by: Tim Zingelman <zingelman@fnal.gov>
* Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As thedd2001-07-021-2/+2
| | | | | | | | | names suggest, they perform methods on Device's. In addition, they check that the pointer passed to them is valid; if it isn't, they pretend that the action failed. This fixes some crashes due to NULL dereferences (e.g., PR 26509). Approved by: jkh (some time ago)
* Preserve ssh directory across upgrades.jkh2001-03-241-0/+1
| | | | | Submitted by: Edwin Groothuis <edwin@mavetju.org> PR: conf/25633
* Properly preserve /etc/mail during upgrades.jkh2001-02-211-0/+1
| | | | | PR: misc/23048 Submitted by: jack@germanium.xtalwind.net
* Really turn off srcs for upgrades.jkh2000-11-141-0/+1
|
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Be neater with the screen contents.jkh2000-02-261-6/+7
|
* Include /usr/libexec in the list of upgrade targets by chflags'ing it first.jkh2000-02-151-1/+1
|
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-12-141-17/+14
| | | | | | | | | | | | as redoing all the menus to have proper, or at least non-hallucinogenic, keyboard accelerators. This requires my recent update to libdialog to work properly and will probably also exhibit some other "interesting" behavior while the last few missing screen clears are found (which is why I'm not going to MFC immediately). At least now, however, sysinstall does not gratuitously redraw random screens at the drop of a hat and drive serial console installers out of their minds.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Preserve /root's dotfiles across upgrades too.jkh1999-05-111-1/+5
| | | | PR: 6559
* Don't allow upgrade to touch /usr/src; only evil can result fromjkh1999-04-071-1/+12
| | | | that kind of overlay smashing.
* Add /etc/rc.firewall to list of "save after upgrade" targets.jkh1999-03-191-1/+2
|
* Write out new boot blocks on upgrade.jkh1999-02-151-1/+3
|
* Update to current state of /etcjkh1999-02-131-17/+12
|
* Totally change the way variables are accounted for in sysinstall.jkh1999-02-051-5/+5
| | | | | | | | Now we know which variables are internal and which need to be backed to /etc/rc.conf.site. rc.conf is not touched now. Also kget kernel change information back properly and set up a loader.rc file to use it.
* o Break fixups into binary fixups and XFree86 based fixups.jkh1998-11-151-23/+1
| | | | | | | | o Move fixups into extraction routine so all consumers don't have to duplicate the right behavior. o Make some things more orthogonal (just for asthetics sake) o Add option to go back and do it again if XF86Setup fails (possibly with a different setup - this one has always annoyed me).
* Deal with both foo.hlp and FOO.TXT files.jkh1998-11-031-2/+2
|
* Add /usr/lib to the list of things to chflag before upgrading.jkh1998-08-281-2/+2
| | | | Noticed by: Blaz Zupan <blaz@gold.amis.net>
* Add 'newsyslog.conf' to the list of files to not clobbersteve1998-05-241-1/+2
| | | | | | during the upgrade process. PR: 6629
* Sync with 2.2-stable branch.jkh1998-03-241-7/+12
|
* MF22: resync.jkh1998-03-231-1/+2
|
* MF22: install correct kerneljkh1998-03-211-5/+6
|
* Do chflags properly even when running multi-user.jkh1997-10-291-5/+5
|
* Separate the siamese twins that were the partition and label editor.jkh1997-10-121-14/+15
| | | | | | Now you can use one without entering the other and it will DTRT. These changes just allowed me to do the most straight-forward new disk installation I've ever managed with sysinstall.
* Keep fingers off /etc files until they're properly backed up.jkh1997-10-011-16/+16
| | | | | PR: 4636 Submitted by: Jack <jack@zeus.xtalwind.net>
* Be more cautious about leaving user with a workable kernel during thejkh1997-09-091-2/+7
| | | | | upgrade process. Submitted by: Mikael Karpberg <karpen@ocean.campus.luth.se>
* Make upgrade potentially a little less interactive.jkh1997-09-081-2/+138
| | | | | Add and document new loadConfig function (sort of like a script #include). Make TCP/IP setup far less chatty when it doesn't need to be.
* Merge 1.33.2.12 from 2.2jkh1997-05-091-1/+5
|
* Adapt to rc.conf file format.jkh1997-04-281-2/+2
|
* Sync up to current state of development.jkh1997-04-021-1/+2
|
* Merge all my sysinstall changes over to the 2.1 branch.jkh1997-03-111-2/+2
| | | | I just have this feeling... :)
* YAMF22jkh1997-03-071-7/+6
|
* 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.
* Do media initialization at correct time for upgrade too.jkh1997-01-291-15/+18
| | | | Update /stand.
* Now that I know which parts of the installation really need it (sincejkh1997-01-171-7/+7
| | | | | there's no menu display bug to work around now), be far more selective in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
* Put upgraded files in their own directory - using the suffix was a bad idea.jkh1997-01-151-8/+10
|
* Register SLIP/PPP devices properly again.jkh1997-01-151-77/+18
| | | | | Make the /etc resurrection more sensible for upgrade. No longer quite so annoying.
* Add some missing parameters to msgConfirm() which produced the effectsjkh1997-01-151-2/+2
| | | | noted in PR#2454
* Make upgrade allow reselection of failed media.jkh1997-01-151-12/+14
|
* Make the FTP installation codepath a lot more defensive. Trapjkh1997-01-151-12/+25
| | | | | | 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.
* 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.
* make note of which /etc files need upgrading in installUpgrade ratherjkh1996-12-151-6/+14
| | | | than asking the user to keep track of the list himself.
* Several areas of improvement:jkh1996-12-081-2/+2
| | | | | | | | 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.
OpenPOWER on IntegriCloud