Updating /usr/src after updating 4.7->4.8

taxman taxman at acd.net
Sat Apr 5 18:56:04 PST 2003


On Saturday 05 April 2003 09:26 pm, Paul Hoffman wrote:
> Greetings again. On a test machine, I upgraded from fairly vanilla
> 4.7 to 4.8 using CD-ROM and /stand/sysintall. At the beginning of the
> upgrade, it told me that it would not upgrade /usr/src. After the
> upgrade, I see by the dates that it upgraded some of /usr/src, but
> not most of it.
>
> What is the proper way to bring /usr/src up to date so that I can
> make kernel mods?

cvsup is one of the most common ways.  You need to install it first.  See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

 here's my supfile:
*default host=cvsup12.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4_8
*default delete use-rel-suffix
*default compress
src-all

save it to a file called supfile and run it with
cvsup -g -L 2 supfile

Tim



More information about the freebsd-questions mailing list