Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 1997 21:32:23 -0800 (PST)
From:      Joseph Stein <joes@seaport.net>
To:        syssgm@dtir.qld.gov.au (Stephen McKay)
Cc:        dhawk@river.org, freebsd-stable@FreeBSD.ORG, syssgm@dtir.qld.gov.au
Subject:   Re: Trying to upgrade: 2.1.7.1 to 2.2.5 (upgrading /etc)
Message-ID:  <199711130532.VAA02677@shasta.wstein.com>
In-Reply-To: <199711130356.NAA25461@ogre.dtir.qld.gov.au> from Stephen McKay at "Nov 13, 97 01:56:31 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 6) update /etc from /usr/src/etc by hand, very carefully.

I've gotten pretty good at this.  I have been doing just '/usr/bin/time
make update world >& /usr/src/log& ; sleep 5 && tail -f /usr/src/log' but
recently started making update first, and then.... (drum roll, please)

-----
mkdir /var/tmp/n
cd /usr/src/etc
make distrib-dirs DESTDIR=/var/tmp/n
make distribution DESTDIR=/var/tmp/n
cd /var/tmp/n/etc
diff -r --paginate /etc . | lpr
-----

I don't update rc.conf (I use it stock, and override everything in 
/etc/rc.conf.local), so usually it is just a matter of copying over
and/or merging in the .conf files in the /etc directory (syslog.conf,
etc).

When the make world finishes, I make a new kernel, rebuild sendmail 
(I've got my own hacks built in), build Bind-8.1.1, and then, from
single user mode I ...

-----
mv /var/tmp/n/dev /
mv /var/tmp/n/etc /
-----

Works pretty well....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711130532.VAA02677>