How to use subversion to keep source, system and doc files up to date?

David J. Weller-Fahy dave-lists-freebsd-questions at weller-fahy.com
Thu Sep 27 00:52:39 UTC 2012


While I track CURRENT, not STABLE, the process should not be
significantly different.  Here is what I do.

* Ed Flecko <edflecko at gmail.com> [2012-09-26 17:18 -0400]:
> I follow the documentation to keep my system up to date by doing:

Here I update the src tree.

# svn update /usr/src/

> # cd /usr/src
> # make buildworld
> # make buildkernel
> # make installkernel
> # shutdown -r now
> 
> and then...
> 
> # mount -u /

Here, instead of "# mount -a -t ufs" I use "# zfs mount -a".

> # adjkerntz -i
> [...]
> # reboot

* Ed Flecko <edflecko at gmail.com> [2012-09-26 18:50 -0400]:
> Do you have any feedback using subversion? I know I can still use
> csup; I'm basically trying to figure out how to subversion to achieve
> the same result.

For ports, I do the following.

# svn update /usr/ports/
# cd /usr/ports
# make fetchindex
# pkg_version -l '<'

Then update any ports which need updating.  There is, AFAICT, minimal
difference between what I used to do with csup, and what I do now with
svn.  Of course, the first time I used subversion was doing this... so I
may be doing it wrong. ;)

HTH,
-- 
dave [ please don't CC me ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120927/08a1c6d7/attachment.pgp


More information about the freebsd-questions mailing list