Defcon1-Header
Tool-BarfreeBSD ArticlesSearch Our SiteHOMEfreeBSD LinksContribute to FreeBSD HelpFreeBSD FilesFreeBSD Script Corner

CVSUP - Setup and use in FreeBSD

This article is for people ONLY updating from 3.x to 4.0 Stable, if you are using 4.x to CVSUP, then you need to goto the CVSUP Article Click Here.  These are a list of New things that you MUST do, to get your CVSUP to pull. First thing to do, is pull the files with your stable-supfile , once you have done this, you can proceed to a combination of the below article and the complete CVSUP Article.

  HINT : Do NOT get the steps out of order, or you will have a mess, and will have fun cleaning it up, or reloading.

    To update from 3.x to 4.0 stable
    --------------------------------
    <see notes below>                [3]
    cd /usr/src
    <see notes below>                [2]
    make buildworld
    <follow directions to build/install a kernel>
    cd /usr/src/sys/modules
    make install
    cd /usr/src/sbin/mknod
    make install
    <follow rebuild disk /dev entries above>    [1]
    reboot
    <in single user>
    cd /usr/src
    cd gnu/usr.bin/texinfo/install-info
    make install
    cd ../../../..
    make installworld                [5]
    mergemaster                   [4]
    reboot
    <multi-user>

    [1] You may need to switch from wd to ad ala 19991210
    [2] If you have any of the following in your /etc/make.conf,
    please comment them out before following these instructions
    and then do a make buildworld + make installworld after you
    are back to <multi-user> above:
        MAKE_KERBEROS4
    [3] Update to 4.0-stable sources. Make sure that you get all
    the parts. If you are using cvsup files that are older than a
    couple of months, be sure they have all the components listed
    in /usr/share/examples/cvsup. Crypto and secure are now
    required.
    [4] This step is optional, but is generally a good idea. If
    you wish to use many of the new features in 4.0, you must do
    this anyway.
    [5] If you get warnings from ld-elf.so that it cannot load
    libc.so, run 'ldconfig -R /usr/obj/usr/src/lib/libc' and repeat
    the installworld target.

What follows are older entries for those people upgrading from earlier
versions of -stable.

 Article UPDATE : 
 New option has been added, this is called mergemaster, you need to do this
in all 4.x versions. People using 3.x do not need to do this.

  GhostRdr


** NOTICE :
For People doing a CVSUP 4.x or higher, you can as well do your CVSUP by doing the following, once you've installed the CVSUP port.
 cvsup -g -L 2 /usr/share/examples/cvsup/stable-supfile -h cvsup3.freebsd.org

© 1997 - 20013 Defcon1, www.defcon1.org , Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.

Defcon1-Header2
Tool-Bar-2Defcon1  Webmail