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.

Posted by     Categories: Goings-on     4 Comments
4 Comments on The right way to cvsup

Closed

  1. Michael says:

    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. Joerg Sonnenberger says:

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

  3. Michael says:

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

  4. Justin C. Sherrill says:

    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.