Subject: Re: 1.5.3 -> 1.6: review upgrade process
To: Bryan P <u1@terran.org>
From: Luke Mewburn <lukem@wasabisystems.com>
List: netbsd-help
Date: 10/10/2002 18:26:12
On Wed, Oct 09, 2002 at 01:48:59PM -0700, Bryan P wrote:
  | 4.) /etc - how to install new stuff w/out blowing away old?  Preferably I
  | can have a new /etc populated somewhere else, then use "diff -ruN" and
  | update deltas by hand (I'm most comfortable seeing and reviewing all
  | changes).

If you build a full release (like you described in a later message),
the installation notes (${RELEASEDIR}/INSTALL.*) have documentation on
how to upgrade from 1.5.x -> 1.6.

You can use "postinstall" to upgrade a lot of the stuff in /etc that
isn't specifically config information per se, or fixes changed paths
(e.g, the sshd(8) config move):
	mkdir /tmp/junk
	cd /tmp/junk
	pax -zrf $RELEASEDIR/binary/sets/etc.tgz
	./etc/postinstall -s `pwd` check
    review the checks, and run the fixes you want with:
	./etc/postinstall -s `pwd` fix [fix1 fix2 ...]


  | 5.) Do I need to update the booloader myself?  I think I know how to do
  | this.

If you want to.


  | 6.) How to remove unneeded files in /bin, /sbin, etc?  Check with find
  | which are older than newly installed and remove?

That's one way :)


  | 7.) How to rebuild /dev

cp MAKEDEV from etc.tgz to /dev, and run:
	cd /dev
	./MAKEDEV all


  | 8.) What about packages I already have installed?  Anything special for
  | this?

Shouldn't matter.


Luke.