Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 1997 23:46:31 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        cshenton@it.hq.nasa.gov (Chris Shenton)
Cc:        hackers@FreeBSD.org
Subject:   Re: migrating 2.1.7 -> 2.2: simple or hairy?
Message-ID:  <Mutt.19970224234631.j@uriah.heep.sax.de>
In-Reply-To: <199702241916.TAA13136@wirehead.it.hq.nasa.gov>; from Chris Shenton on Feb 24, 1997 14:16:13 -0500
References:  <199702241916.TAA13136@wirehead.it.hq.nasa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
As Chris Shenton wrote:

> Ideally I could do:
> 
> 	mv /usr/src /usr/src.old
> 	cvsup <whatever>-supfile	[whatever's appropriate for 2.2]
> 	cd /usr/src
> 	make world
> 	make install

Yes, that should work.

> In the past, I've had problems trying to do this: libraries became out
> of sync and the make, cc, and other failed, leaving me with an
> unusable system.

Unusable?  I doubt.  Probably ``not quite out of the box'', but with
a little of hand-fiddling, you should be able to get it into shape.

It's sometimes also very helpful to run the first `make world' with
the -k flag, so not every single error becomes a show-stopper.

> Also, which cvsup files are appropriate? I've been tracking 'stable',
> which gives me 2.1.7. Does 'current' give me 2.2 or 3.0? Which would
> be appropriate?

-current is 3.0-current.  I don't think we've got a name for
RELENG_2_2 yet, but be assured, it will take over the name `-stable'
anytime soon. :)

> Any other pointers, like maybe building in a separate /usr/src-new
> tree?

If at all (and if you've got the diskspace), you can try bootstrapping
it into a chrooted tree.  That's basically what a `make release' does,
but i remember that the hosting and target version shouldn't diverge
too much there either, or it will require hand-fiddling.

Don't forget your /etc updates...

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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