=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/stable.html,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** www/stable.html 2006/11/01 06:29:55 1.21 --- www/stable.html 2007/01/02 01:00:02 1.22 *************** *** 1,32 **** ! OpenBSD Patch Branches ! ! [OpenBSD]

!

Patch Branches

!

-


!

What is the patch branch?

Starting with 2.7, OpenBSD provides a source tree that contains --- 1,36 ---- ! OpenBSD Patch Branches ! + ! ! [OpenBSD]

!

Patch Branches

!

!

Table Of Contents

!
!

What is the patch branch?

Starting with 2.7, OpenBSD provides a source tree that contains *************** *** 61,67 ****

!

Getting a stable branch

To obtain the patch branch for a particular release of OpenBSD, you --- 65,71 ----

!

Getting a stable branch

To obtain the patch branch for a particular release of OpenBSD, you *************** *** 81,87 **** library versioning problems. !

Building from an OpenBSD patch branch

Once you have obtained a source tree via anoncvs, you must rebuild the system. The stages for doing so are: --- 85,91 ---- library versioning problems. !

Building from an OpenBSD patch branch

Once you have obtained a source tree via anoncvs, you must rebuild the system. The stages for doing so are: *************** *** 91,144 ****
  • Rebuild the binaries !

    Rebuilding the kernel

    To rebuild the default kernel from stable: !

    Replace i386 with your architecture, e.g. sparc, alpha, etc. !

    Rebooting with the new kernel

    To reboot with the newly compiled kernel: !

    As above, substitute your architecture for i386. If your system has trouble booting the new kernel, you can easily go back and reboot from the old kernel, now called bsd.old. !

    Rebuilding the binaries

    To rebuild the system binaries: !

    This will take awhile...


    OpenBSD ! www@openbsd.org !
    $OpenBSD: stable.html,v 1.21 2006/11/01 06:29:55 steven Exp $ --- 95,148 ----
  • Rebuild the binaries !

    Rebuilding the kernel

    To rebuild the default kernel from stable: !

      # cd /usr/src/sys/arch/i386/conf
      # /usr/sbin/config GENERIC
      # cd /usr/src/sys/arch/i386/compile/GENERIC
      # make clean && make depend && make
    ! 

    Replace i386 with your architecture, e.g. sparc, alpha, etc. !

    Rebooting with the new kernel

    To reboot with the newly compiled kernel: !

      # cd /usr/src/sys/arch/i386/compile/GENERIC
      # cp /bsd /bsd.old          (Save an old copy of your kernel)
      # cp bsd /bsd               (Copy the new kernel into place)
      # reboot
    ! 

    As above, substitute your architecture for i386. If your system has trouble booting the new kernel, you can easily go back and reboot from the old kernel, now called bsd.old. !

    Rebuilding the binaries

    To rebuild the system binaries: !

      # rm -rf /usr/obj/*
      # cd /usr/src
      # make obj
      # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
      # cd /usr/src
      # make build
    ! 

    This will take awhile...


    OpenBSD ! www@openbsd.org !
    $OpenBSD: stable.html,v 1.22 2007/01/02 01:00:02 nick Exp $