[BACK]Return to stable.html CVS log [TXT][DIR] Up to [local] / www

Diff for /www/stable.html between version 1.21 and 1.22

version 1.21, 2006/11/01 06:29:55 version 1.22, 2007/01/02 01:00:02
Line 1 
Line 1 
 <!DOCTYPE HTML PUBLIC  "-//IETF//DTD HTML Strict//EN">  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>  <html>
 <head>  <head>
 <title>OpenBSD Patch Branches</title>  <title>OpenBSD Patch Branches</title>
 <link rev=made href=mailto:www@openbsd.org>  <link rev=made href="mailto:www@openbsd.org">
 <meta name="resource-type" content="document">  <meta name="resource-type" content="document">
 <meta name="description" content="stable">  <meta name="description" content="stable">
 <meta name="keywords" content="openbsd,anoncvs,updates,stable">  <meta name="keywords" content="openbsd,anoncvs,updates,stable">
 <meta name="distribution" content="global">  <meta name="distribution" content="global">
 <meta name="copyright" content="This document copyright 1996-2006 by OpenBSD.">  <meta name="copyright" content="This document copyright 1996-2006 by OpenBSD.">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 </head>  </head>
   
 <body bgcolor="#ffffff" text="#000000" link="#23238E">  <body bgcolor="#ffffff" text="#000000">
   <!-- Passes validator.w3.org, please keep it this way;
   please, use a max of 72 chars per line -->
   
 <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>  <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
 <p>  <p>
 <h2><font color=#e00000>Patch Branches</font><hr></h2>  <h2><font color="#e00000">Patch Branches</font></h2>
   <hr>
   
 <p>  <p>
 <ul><h3>Table Of Contents</h3>  <h3>Table Of Contents</h3>
   <ul>
 <li><a href="#whatis">What is the patch branch?</a>  <li><a href="#whatis">What is the patch branch?</a>
 <li><a href="#getting">Getting the patch branch</a>  <li><a href="#getting">Getting the patch branch</a>
 <li><a href="#building">Building from the patch branch</a>  <li><a href="#building">Building from the patch branch</a>
 </ul>  </ul>
 </p>  
 <hr>  <hr>
   
 <a name="whatis"></a>  <a name="whatis"></a>
 <h3><font color=#0000e0>What is the patch branch?</font></h3>  <h3><font color="#0000e0">What is the patch branch?</font></h3>
   
 <p>  <p>
 Starting with 2.7, OpenBSD provides a source tree that contains  Starting with 2.7, OpenBSD provides a source tree that contains
Line 61 
Line 65 
 <p>  <p>
   
 <a name="getting"></a>  <a name="getting"></a>
 <h3><font color=#0000e0>Getting a stable branch</font></h3>  <h3><font color="#0000e0">Getting a stable branch</font></h3>
   
 <p>  <p>
 To obtain the patch branch for a particular release of OpenBSD, you  To obtain the patch branch for a particular release of OpenBSD, you
Line 81 
Line 85 
 library versioning problems.  library versioning problems.
   
 <a name="building"></a>  <a name="building"></a>
 <h3><font color=#0000e0>Building from an OpenBSD patch branch</font></h3>  <h3><font color="#0000e0">Building from an OpenBSD patch branch</font></h3>
 Once you have obtained a source tree via <a href="anoncvs.html">anoncvs</a>,  Once you have obtained a source tree via <a href="anoncvs.html">anoncvs</a>,
 you must rebuild the system.  The stages for doing so are:  you must rebuild the system.  The stages for doing so are:
   
Line 91 
Line 95 
  <li>Rebuild the binaries   <li>Rebuild the binaries
 </ul>  </ul>
   
 <h4><font color=#0000e0>Rebuilding the kernel</font></h4>  <h4><font color="#0000e0">Rebuilding the kernel</font></h4>
   
 <p>  <p>
 To rebuild the default kernel from stable:  To rebuild the default kernel from stable:
 <ul><pre>  <blockquote><pre>
 # <strong>cd /usr/src/sys/arch/i386/conf</strong>  # <strong>cd /usr/src/sys/arch/i386/conf</strong>
 # <strong>/usr/sbin/config GENERIC</strong>  # <strong>/usr/sbin/config GENERIC</strong>
 # <strong>cd /usr/src/sys/arch/i386/compile/GENERIC</strong>  # <strong>cd /usr/src/sys/arch/i386/compile/GENERIC</strong>
 # <strong>make clean &amp;&amp; make depend &amp;&amp; make</strong>  # <strong>make clean &amp;&amp; make depend &amp;&amp; make</strong>
 </pre></ul>  </pre></blockquote>
   
 <p>  <p>
 Replace <i>i386</i> with your architecture, e.g.  Replace <i>i386</i> with your architecture, e.g.
 <i>sparc</i>, <i>alpha</i>, etc.  <i>sparc</i>, <i>alpha</i>, etc.
   
 <h4><font color=#0000e0>Rebooting with the new kernel</font></h4>  <h4><font color="#0000e0">Rebooting with the new kernel</font></h4>
   
 <p>  <p>
 To reboot with the newly compiled kernel:  To reboot with the newly compiled kernel:
 <ul><pre>  <blockquote><pre>
 # <strong>cd /usr/src/sys/arch/i386/compile/GENERIC</strong>  # <strong>cd /usr/src/sys/arch/i386/compile/GENERIC</strong>
 # <strong>cp /bsd /bsd.old</strong>          <i>(Save an old copy of your kernel)</i>  # <strong>cp /bsd /bsd.old</strong>          <i>(Save an old copy of your kernel)</i>
 # <strong>cp bsd /bsd</strong>               <i>(Copy the new kernel into place)</i>  # <strong>cp bsd /bsd</strong>               <i>(Copy the new kernel into place)</i>
 # <strong>reboot</strong>  # <strong>reboot</strong>
 </pre></ul>  </pre></blockquote>
   
 <p>  <p>
 As above, substitute your architecture for <i>i386</i>.  If your system has  As above, substitute your architecture for <i>i386</i>.  If your system has
 trouble booting the new kernel, you can easily go back and reboot from the  trouble booting the new kernel, you can easily go back and reboot from the
 old kernel, now called <i>bsd.old</i>.  old kernel, now called <i>bsd.old</i>.
   
 <h4><font color=#0000e0>Rebuilding the binaries</font></h4>  <h4><font color="#0000e0">Rebuilding the binaries</font></h4>
   
 <p> To rebuild the system binaries:  <p> To rebuild the system binaries:
 <ul><pre>  <blockquote><pre>
 # <strong>rm -rf /usr/obj/*</strong>  # <strong>rm -rf /usr/obj/*</strong>
 # <strong>cd /usr/src</strong>  # <strong>cd /usr/src</strong>
 # <strong>make obj</strong>  # <strong>make obj</strong>
 # <strong>cd /usr/src/etc &amp;&amp; env DESTDIR=/ make distrib-dirs</strong>  # <strong>cd /usr/src/etc &amp;&amp; env DESTDIR=/ make distrib-dirs</strong>
 # <strong>cd /usr/src</strong>  # <strong>cd /usr/src</strong>
 # <strong>make build</strong>  # <strong>make build</strong>
 </pre></ul>  </pre></blockquote>
   
 <p>This will take awhile...  <p>This will take awhile...
 <hr>  <hr>
 <a href=index.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>  <a href=index.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
 <a href=mailto:www@openbsd.org>www@openbsd.org</a>  <a href="mailto:www@openbsd.org">www@openbsd.org</a>
 <br><small>$OpenBSD$</small>  <br><small>$OpenBSD$</small>
 </body>  </body>
 </html>  </html>

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22