The right way to cvsup

For those of us from FreeBSDland, the kernel upgrade process is (well, recently) solidified to a number of steps including mergemaster. Matt Dillon noted that the DragonFly upgrading process is thus:

(update via cvsup)
cd /usr/src
make buildworld
make buildkernel KERNCONF=<kernel config file>
make installkernel KERNCONF=<kernel config file>
make installworld
make upgrade

The “make upgrade” step replaces mergemaster, and should be relatively faster. Credit for this goes to Sascha Wildner for asking for clarification on the dragonfly.bugs mailing list.

4 Replies to “The right way to cvsup”

  1. Does the new build infrastructure take care of everything in /usr/include, or do we still need to remove, and rebuild that directory and then do a ‘make includes’ from /usr/src?

    It’s burned me before, so I’d really like to know soon, thanks! :)

  2. Updating /usr/include is a part of buildworld, you only need to do that if you want partial updates.

  3. Joerg, thanks for your speedy reply! You DragonFly folks are doing a fantastic job, and I can’t wait for the first release.

  4. If I recall correctly, specifically removing /usr/includes/ was for folks upgrading from FreeBSD – this would get rid of header files from FreeBSD that would otherwise stick around, untouched.

Comments are closed.