Subject: Re: Upgrading from 1.5.2 to -current?
To: Brad Knowles <brad.knowles@skynet.be>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 04/19/2002 18:17:45
On Fri, Apr 19, 2002 at 06:10:32PM +0200, Brad Knowles wrote:
> At 11:47 AM -0400 2002/04/19, Todd Vierling wrote:
> 
> >  Well, the documentation is "download and extract *everything*, then update
> >  with anoncvs".  :)
> 
> 	That's fine, but until you had mentioned the share.tar.gz 
> tarball, I had never read anywhere that when updating from 1.5.2-REL 
> to 1.5-CURRENT that you needed to download any tarballs at all.  The 
> documentation I found (at 
> <http://www.mclink.it/personal/MG2508/nbsdeng/chap-cvs.html#AEN4890>) 
> simply says:
> 
> To get the sources from scratch without having anything in /usr/src
> % setenv CVSROOT :pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
> % cd /usr
> % cvs login
> password: anoncvs
> % cvs checkout -rnetbsd-1-5 -PA src
> 
> Or do it by ssh, so that the data is
> encrypted:
> % setenv CVS_RSH ssh
> % setenv CVSROOT anoncvs@anoncvs.netbsd.org:/cvsroot
> % cd /usr
> % cvs checkout -rnetbsd-1-5 -PA src
> 
> This will fetch the source from the 1.5 release branch.  To obtain 
> the current source just omit "-rnetbsd-1-5" in the last line.
> 
> 		-and-
> 
> To just update the 1.5 release source tree if you already got one:
> % setenv CVSROOT :pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
> % cd /usr
> % cvs login
> password: anoncvs
> % cvs -d $CVSROOT update -rnetbsd-1-5 -PAd src
> 
> Or by ssh:
> % setenv CVS_RSH ssh
> % setenv CVSROOT anoncvs@anoncvs.netbsd.org:/cvsroot
> % cd /usr
> % cvs -d $CVSROOT update -rnetbsd-1-5 -PAd src
> 
> To update the 1.5 current source tree, omit the
> "-rnetbsd-1-5"
> 
> 
> 	There is no mention anywhere here of needing to download any tarballs.

If I understood it properly you first got the 1.5 sources
(cvs co -r netsbd-1-5) and then did a cvs update to get current ?

Yes, this doesn't work very well because of modules aliases that are
different. You can checkout 1.5 and then update 1.5, or checkout current
and then update current.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--