summaryrefslogtreecommitdiff
path: root/release/sysinstall/installUpgrade.c
Commit message (Collapse)AuthorAgeFilesLines
* Sysinstall has been repocopied to src/usr.sbin/sysinstall and everythingJohn Baldwin2001-01-171-493/+0
| | | | | | | now uses the sources found there. Notes: svn path=/head/; revision=71150
* Really turn off srcs for upgrades.Jordan K. Hubbard2000-11-141-0/+1
| | | | Notes: svn path=/head/; revision=68730
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you canJacques Vidrine2000-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 Notes: svn path=/head/; revision=65532
* Be neater with the screen contents.Jordan K. Hubbard2000-02-261-6/+7
| | | | Notes: svn path=/head/; revision=57509
* Include /usr/libexec in the list of upgrade targets by chflags'ing it first.Jordan K. Hubbard2000-02-151-1/+1
| | | | Notes: svn path=/head/; revision=57236
* Completely rip-out and redesign sysinstall's refresh model as wellJordan K. Hubbard1999-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. Notes: svn path=/head/; revision=54587
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Preserve /root's dotfiles across upgrades too.Jordan K. Hubbard1999-05-111-1/+5
| | | | | | | PR: 6559 Notes: svn path=/head/; revision=46994
* Don't allow upgrade to touch /usr/src; only evil can result fromJordan K. Hubbard1999-04-071-1/+12
| | | | | | | that kind of overlay smashing. Notes: svn path=/head/; revision=45402
* Add /etc/rc.firewall to list of "save after upgrade" targets.Jordan K. Hubbard1999-03-191-1/+2
| | | | Notes: svn path=/head/; revision=44890
* Write out new boot blocks on upgrade.Jordan K. Hubbard1999-02-151-1/+3
| | | | Notes: svn path=/head/; revision=44036
* Update to current state of /etcJordan K. Hubbard1999-02-131-17/+12
| | | | Notes: svn path=/head/; revision=43949
* Totally change the way variables are accounted for in sysinstall.Jordan K. Hubbard1999-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. Notes: svn path=/head/; revision=43685
* o Break fixups into binary fixups and XFree86 based fixups.Jordan K. Hubbard1998-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). Notes: svn path=/head/; revision=41162
* Deal with both foo.hlp and FOO.TXT files.Jordan K. Hubbard1998-11-031-2/+2
| | | | Notes: svn path=/head/; revision=40841
* Add /usr/lib to the list of things to chflag before upgrading.Jordan K. Hubbard1998-08-281-2/+2
| | | | | | | Noticed by: Blaz Zupan <blaz@gold.amis.net> Notes: svn path=/head/; revision=38594
* Add 'newsyslog.conf' to the list of files to not clobberSteve Price1998-05-241-1/+2
| | | | | | | | | during the upgrade process. PR: 6629 Notes: svn path=/head/; revision=36320
* Sync with 2.2-stable branch.Jordan K. Hubbard1998-03-241-7/+12
| | | | Notes: svn path=/head/; revision=34867
* MF22: resync.Jordan K. Hubbard1998-03-231-1/+2
| | | | Notes: svn path=/head/; revision=34811
* MF22: install correct kernelJordan K. Hubbard1998-03-211-5/+6
| | | | Notes: svn path=/head/; revision=34733
* Do chflags properly even when running multi-user.Jordan K. Hubbard1997-10-291-5/+5
| | | | Notes: svn path=/head/; revision=30832
* Separate the siamese twins that were the partition and label editor.Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=30345
* Keep fingers off /etc files until they're properly backed up.Jordan K. Hubbard1997-10-011-16/+16
| | | | | | | | PR: 4636 Submitted by: Jack <jack@zeus.xtalwind.net> Notes: svn path=/head/; revision=30018
* Be more cautious about leaving user with a workable kernel during theJordan K. Hubbard1997-09-091-2/+7
| | | | | | | | upgrade process. Submitted by: Mikael Karpberg <karpen@ocean.campus.luth.se> Notes: svn path=/head/; revision=29236
* Make upgrade potentially a little less interactive.Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=29222
* Merge 1.33.2.12 from 2.2Jordan K. Hubbard1997-05-091-1/+5
| | | | Notes: svn path=/head/; revision=25601
* Adapt to rc.conf file format.Jordan K. Hubbard1997-04-281-2/+2
| | | | Notes: svn path=/head/; revision=25251
* Sync up to current state of development.Jordan K. Hubbard1997-04-021-1/+2
| | | | Notes: svn path=/head/; revision=24548
* Merge all my sysinstall changes over to the 2.1 branch.Jordan K. Hubbard1997-03-111-2/+2
| | | | | | | I just have this feeling... :) Notes: svn path=/head/; revision=23647
* YAMF22Jordan K. Hubbard1997-03-071-7/+6
| | | | Notes: svn path=/head/; revision=23500
* It's easier to go forwards than backwards with this, and the RELENG_2_1_0Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=22388
* Do media initialization at correct time for upgrade too.Jordan K. Hubbard1997-01-291-15/+18
| | | | | | | Update /stand. Notes: svn path=/head/; revision=22072
* Now that I know which parts of the installation really need it (sinceJordan K. Hubbard1997-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). Notes: svn path=/head/; revision=21792
* Put upgraded files in their own directory - using the suffix was a bad idea.Jordan K. Hubbard1997-01-151-8/+10
| | | | Notes: svn path=/head/; revision=21728
* Register SLIP/PPP devices properly again.Jordan K. Hubbard1997-01-151-77/+18
| | | | | | | | Make the /etc resurrection more sensible for upgrade. No longer quite so annoying. Notes: svn path=/head/; revision=21726
* Add some missing parameters to msgConfirm() which produced the effectsJordan K. Hubbard1997-01-151-2/+2
| | | | | | | noted in PR#2454 Notes: svn path=/head/; revision=21720
* Make upgrade allow reselection of failed media.Jordan K. Hubbard1997-01-151-12/+14
| | | | Notes: svn path=/head/; revision=21713
* Make the FTP installation codepath a lot more defensive. TrapJordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21710
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* make note of which /etc files need upgrading in installUpgrade ratherJordan K. Hubbard1996-12-151-6/+14
| | | | | | | than asking the user to keep track of the list himself. Notes: svn path=/head/; revision=20518
* Several areas of improvement:Jordan K. Hubbard1996-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. Notes: svn path=/head/; revision=20208
* DTRT if ESC is hit in a Yes/No dialog.Jordan K. Hubbard1996-10-091-5/+5
| | | | | | | Noticed-by: jfieber Notes: svn path=/head/; revision=18830
* Don't call copySelf() when upgrading.Jordan K. Hubbard1996-09-181-7/+1
| | | | Notes: svn path=/head/; revision=18363
* Try to make screen update more efficient (less flickering) by moreJordan K. Hubbard1996-08-031-5/+4
| | | | | | | judicious use of dialog_clear_norefresh(). Notes: svn path=/head/; revision=17404
* Damn - looks like upgrade got broken along the way and it's not somethingJordan K. Hubbard1996-07-141-28/+46
| | | | | | | | | | 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. :-) Notes: svn path=/head/; revision=17164
* Whoops! Now that I'm decompressing docs into /tmp, it's important toJordan K. Hubbard1996-07-081-2/+2
| | | | | | | | make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function. Notes: svn path=/head/; revision=17005
* Support compressed doc files again.Jordan K. Hubbard1996-07-051-17/+21
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=16975
* Make it plainer how to exit.Jordan K. Hubbard1996-07-021-4/+4
| | | | Notes: svn path=/head/; revision=16887
* Sha-ZAM!Jordan K. Hubbard1996-05-291-7/+1
| | | | | | | | The root floppy is now gone. I shall not mourn its passing. Everything we need is on boot.flp or the bindist. Notes: svn path=/head/; revision=15972
* Fix some long-standing malloc bugs in the package handling code (freeing garbageJordan K. Hubbard1996-05-161-15/+6
| | | | | | | | | | | | | | | | 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(). Notes: svn path=/head/; revision=15788