Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 1998 17:28:42 +0200
From:      Jeremy Lea <reg@shale.csir.co.za>
To:        Eivind Eklund <eivind@yes.no>, Studded <Studded@dal.net>, FreeBSD-Hackers@FreeBSD.ORG
Cc:        jkh@FreeBSD.ORG
Subject:   Re: Discussion about script to update /etc, etc.
Message-ID:  <19980319172842.00454@shale.csir.co.za>
In-Reply-To: <19980319160058.14256@follo.net>; from Eivind Eklund on Thu, Mar 19, 1998 at 04:00:58PM %2B0100
References:  <3510CC73.307E199D@dal.net> <19980319160058.14256@follo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 19, 1998 at 04:00:58PM +0100, Eivind Eklund wrote:
> On Wed, Mar 18, 1998 at 11:42:43PM -0800, Studded wrote:
> > One of the things that has been often requested is a method of
> > automatically updating the files installed by /usr/src/etc/Makefile for
> > the user. I have developed the following system based in part on the one
> > in Nik Clayton's make world tutorial.
> > http://www.nothing-going-on.demon.co.uk/FreeBSD/make-world/make-world.html
> 
> It is still easier to do this correctly if you base yourself on having
> a pristine version of the initial etc files available, and use 'merge'
> to do the actual merge.
> 
> This can be extracted from the CVS repository, but the users that have
> that available probably isn't the primary target (except if they have
> the CD-ROM, of course... :-)
> 
> Jordan - what's the chance of automatically getting a pristine copy of
> the /etc directory stored along the actual one, for later upgrades?
> Just making sysinstall copy all files in /etc into /etc/pristine on
> initial install should make good upgrades much easier...

I haven't looked at the script yet, but this was an idea...

Use the $ID$ and fetch http://www.freebsd.org/cgi-bin/cvsweb.cgi, to fetch a
new copy of each (changed) origional file. Create a diff against that and
then apply the diff to the new /etc. Merge conflicts by hand and then copy.

Requires access via fetch, but that's not a big problem for CVSSup users.

 -Jeremy

-- 
.sig.gz

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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