Commit Graph

66 Commits

Author SHA1 Message Date
Jordan K. Hubbard
e73c4fe5eb Preserve /root's dotfiles across upgrades too.
PR:		6559
1999-05-11 08:00:06 +00:00
Jordan K. Hubbard
9d49bf557a Don't allow upgrade to touch /usr/src; only evil can result from
that kind of overlay smashing.
1999-04-07 03:06:44 +00:00
Jordan K. Hubbard
3e4cc6bfc4 Add /etc/rc.firewall to list of "save after upgrade" targets. 1999-03-19 08:22:31 +00:00
Jordan K. Hubbard
02f3e729fe Write out new boot blocks on upgrade. 1999-02-15 02:22:47 +00:00
Jordan K. Hubbard
cccdcabe4d Update to current state of /etc 1999-02-13 05:18:06 +00:00
Jordan K. Hubbard
63cad5499d Totally change the way variables are accounted for in sysinstall.
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.
1999-02-05 22:15:52 +00:00
Jordan K. Hubbard
18c434c8f2 o Break fixups into binary fixups and XFree86 based fixups.
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).
1998-11-15 09:06:20 +00:00
Jordan K. Hubbard
aa9f92fbdb Deal with both foo.hlp and FOO.TXT files. 1998-11-03 03:38:56 +00:00
Jordan K. Hubbard
ccee8446a8 Add /usr/lib to the list of things to chflag before upgrading.
Noticed by:	Blaz Zupan <blaz@gold.amis.net>
1998-08-28 01:03:41 +00:00
Steve Price
461497b337 Add 'newsyslog.conf' to the list of files to not clobber
during the upgrade process.

PR:		6629
1998-05-24 02:49:54 +00:00
Jordan K. Hubbard
ac4c856698 Sync with 2.2-stable branch. 1998-03-24 09:51:58 +00:00
Jordan K. Hubbard
d8837e94a8 MF22: resync. 1998-03-23 08:36:27 +00:00
Jordan K. Hubbard
40917faa6f MF22: install correct kernel 1998-03-21 02:08:52 +00:00
Jordan K. Hubbard
d424167c3c Do chflags properly even when running multi-user. 1997-10-29 07:47:06 +00:00
Jordan K. Hubbard
b09dc169b7 Separate the siamese twins that were the partition and label editor.
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.
1997-10-12 16:21:21 +00:00
Jordan K. Hubbard
0c795d27ea Keep fingers off /etc files until they're properly backed up.
PR:		4636
Submitted by:	Jack <jack@zeus.xtalwind.net>
1997-10-01 01:30:35 +00:00
Jordan K. Hubbard
b79a0997ab Be more cautious about leaving user with a workable kernel during the
upgrade process.
Submitted by:	Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-09 09:19:30 +00:00
Jordan K. Hubbard
321a8d519a Make upgrade potentially a little less interactive.
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.
1997-09-08 11:09:11 +00:00
Jordan K. Hubbard
98e24c476f Merge 1.33.2.12 from 2.2 1997-05-09 07:44:19 +00:00
Jordan K. Hubbard
3de5b08eda Adapt to rc.conf file format. 1997-04-28 10:31:14 +00:00
Jordan K. Hubbard
45dbe89080 Sync up to current state of development. 1997-04-02 12:07:39 +00:00
Jordan K. Hubbard
9a598d6b3f Merge all my sysinstall changes over to the 2.1 branch.
I just have this feeling... :)
1997-03-11 09:29:42 +00:00
Jordan K. Hubbard
2efff52162 YAMF22 1997-03-07 16:39:32 +00:00
Jordan K. Hubbard
8055777430 It's easier to go forwards than backwards with this, and the RELENG_2_1_0
sysinstall was already broken (I think there's a PR for this somewhere).
This will require some additional changes elsewhere, like bringing in pw.
1997-02-07 04:27:24 +00:00
Jordan K. Hubbard
ad26f87d59 Do media initialization at correct time for upgrade too.
Update /stand.
1997-01-29 01:23:05 +00:00
Jordan K. Hubbard
3b9b7e6177 Now that I know which parts of the installation really need it (since
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).
1997-01-17 08:47:13 +00:00
Jordan K. Hubbard
c5e12995c6 Put upgraded files in their own directory - using the suffix was a bad idea. 1997-01-15 15:32:04 +00:00
Jordan K. Hubbard
615d72264e Register SLIP/PPP devices properly again.
Make the /etc resurrection more sensible for upgrade.  No longer
quite so annoying.
1997-01-15 13:39:50 +00:00
Jordan K. Hubbard
840c833532 Add some missing parameters to msgConfirm() which produced the effects
noted in PR#2454
1997-01-15 11:48:37 +00:00
Jordan K. Hubbard
4b5985f238 Make upgrade allow reselection of failed media. 1997-01-15 07:28:25 +00:00
Jordan K. Hubbard
4a57e2940f Make the FTP installation codepath a lot more defensive. Trap
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.
1997-01-15 06:30:50 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
50aaa93770 make note of which /etc files need upgrading in installUpgrade rather
than asking the user to keep track of the list himself.
1996-12-15 18:14:37 +00:00
Jordan K. Hubbard
ba5555f0e6 Several areas of improvement:
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.
1996-12-08 12:27:58 +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
932fd2b2c2 Don't call copySelf() when upgrading. 1996-09-18 18:40:37 +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
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
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
2dc1c61598 Support compressed doc files again.
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.
1996-07-05 08:36:02 +00:00
Jordan K. Hubbard
3b307053cb Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
Jordan K. Hubbard
b53e8a34e6 Sha-ZAM!
The root floppy is now gone.  I shall not mourn its passing.
Everything we need is on boot.flp or the bindist.
1996-05-29 01:35:33 +00:00
Jordan K. Hubbard
16185b823a Fix some long-standing malloc bugs in the package handling code (freeing garbage
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().
1996-05-16 11:47:46 +00:00
Jordan K. Hubbard
c97113d14f Add a new -fake argument to make sysinstall not actually change things while
I'm testing it.
1996-04-28 20:54:11 +00:00
Jordan K. Hubbard
89592e552b Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +00:00
Jordan K. Hubbard
18b1c03d52 Quite a few changes:
1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic
   points.
2. Clean up the distributions menus so that everybody (that's reasonable)
   has All and Clear options for setting/clearing things en-masse.
3. Various attempts at display optimization.
4. Change the wording of the `Don't use Write!' dialogs to make them more
   explicitly define when and when not to use the option.
1996-04-25 17:31:27 +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
957bdf511e Major surgery.
1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs)
   so that I can create composite menus with radio/checkbox/... items in them,
   removing some long-standing UI bogons in various menus.  This work isn't
   finished yet, but will be done in two phases.  This is phase one.

2. Remove all the script installation stuff.  I never got time to document it,
   it was arcane and it just complicated much of the code.  There are better
   ways of doing this if I want to do auto-driven installations later.

3. Remove much dead code and otherwise attempt to remove as much historical
   grot as possible so that this code is easier to hack on.  This is also
   a two-stage process, phase one of which is now complete.
1996-04-07 03:52:36 +00:00
Jordan K. Hubbard
07dae43c52 Warn the user extra special for /etc/sysconfig. 1995-11-17 14:17:12 +00:00