Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2012 09:23:59 +0000
From:      Ben Morrow <ben@morrow.me.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: confirm that csup is still usable fos the new 9.1
Message-ID:  <20121126092355.GA6214@anubis.morrow.me.uk>
In-Reply-To: <CADLo838evC%2BiQBX9UNJsN1ySuuE4KH3Oxyi-zSASe57-eAxoBQ@mail.gmail.com>
References:  <CALFgp2PGLnqUeDkt=hn_B6yjE9VrsXogrB9pFC6A=ahTCZvRRA@mail.gmail.com> <CAF6rxg=udvqV_dAGeH-zGq_gWfKja=YpXwyMBtBHahFHBxAJnQ@mail.gmail.com> <50A7DEE7.8090802@netfence.it> <CAN6yY1tLe1XRM%2BMFiDj=XOx3dagx8OammSCYfvM%2BsP2Xjg431g@mail.gmail.com> <50b3151d.T/yqv0fC2duSYEm9%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoth Chris Rees <utisoft@gmail.com>:
> On 26 Nov 2012 08:12, "Perry Hutchison" <perryh@pluto.rain.com> wrote:
> > Kevin Oberman <kob6558@gmail.com> wrote:
> >
> > > ... don't bet that csup and cvs will be around long ...
> > > It's really time to get away from CVS and I suspect
> > > it will be going away sooner than had been planned.
> >
> > Once csup goes away, how will a base-only system update
> > the sources, e.g. to follow a security branch?
> 
> freebsd-update will update your sources for you.

It would be convenient if, before csup disappears, the 'Sychronising
your Source' section in the Handbook could be updated to contain
instructions for updating *just the source* using freebsd-update. Even
if this is as simple as 'Components src' it would be good to state that
explicitly; it would also be useful to give a procedure for moving from
a csupped tree to one which freebsd-update will be able to apply deltas
to, if that's possible without redownloading the whole source tree.

In general, it's not terribly clear to me what will happen if I run
freebsd-update on a system I have built from source. How does it know
where to start from when it downloads deltas: does it assume `uname -r`
accurately reflects the exact current state of the system? What will
happen if I patch my source and then run freebsd-update without
reverting those changes: will it revert them for me, like csup did, will
it make a mess, or will the update fail?

It would also be better, IMHO, to change the language in that section to
recommend freebsd-update for those running RELEASE branches, and reserve
the svn recommendation for those tracking development branches.

Ben




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