version 1.153, 2001/08/03 15:20:44 |
version 1.154, 2001/08/08 21:06:32 |
|
|
techniques is that it works directly against a central source code |
techniques is that it works directly against a central source code |
repository or mirror. This means that you have the full set of CVS |
repository or mirror. This means that you have the full set of CVS |
commands available to control merging and updating your changes with |
commands available to control merging and updating your changes with |
other source changes and for performing diff's, change histories |
other source changes and for performing diffs, change histories |
and other queries against the central repository. |
and other queries against the central repository. |
</p> |
</p> |
|
|
|
|
</ul> |
</ul> |
|
|
<p> |
<p> |
Once you have chosen which <a href="#CVSROOT">Anonymous CVS Server</a> you will use, and which method you will use, you can start using cvs. For those of you who have CD's you can start with the CVS checkout that is on the CD by using the method <a href="#starting">above</a> to get the sources onto your system. If you don't have a CD handy, use the method below to checkout the sources. This method puts the OpenBSD source tree into <i>/usr/src</i>. |
Once you have chosen which <a href="#CVSROOT">Anonymous CVS Server</a> you will use, and which method you will use, you can start using cvs. For those of you who have CDs you can start with the CVS checkout that is on the CD by using the method <a href="#starting">above</a> to get the sources onto your system. If you don't have a CD handy, use the method below to checkout the sources. This method puts the OpenBSD source tree into <i>/usr/src</i>. |
</p> |
</p> |
|
|
<pre> |
<pre> |
|
|
# <strong>cvs -q up -rOPENBSD_2_9 -Pd</strong> |
# <strong>cvs -q up -rOPENBSD_2_9 -Pd</strong> |
</pre> |
</pre> |
|
|
Everytime you ran this it would synchronize your /usr/src tree. It would |
Every time you ran this it would synchronize your /usr/src tree. It would |
not destroy any of your local changes, rather it would attempt to merge |
not destroy any of your local changes, rather it would attempt to merge |
changes in. If you use obj directories (not obj symbolic links) you may |
changes in. If you use obj directories (not obj symbolic links) you may |
wish to append "-I obj" to the cvs command line, this will keep cvs from |
wish to append "-I obj" to the cvs command line, this will keep cvs from |
|
|
|
|
<h3><font color="#0000e0">Final notes</font></h3> |
<h3><font color="#0000e0">Final notes</font></h3> |
After upgrading your source tree, you should read the comments |
After upgrading your source tree, you should read the comments |
at the top of <KBD>/usr/src/Makefile</KBD> before attemping |
at the top of <KBD>/usr/src/Makefile</KBD> before attempting |
a build. Also, you should build a new kernel <strong>before</strong> |
a build. Also, you should build a new kernel <strong>before</strong> |
doing a <KBD>make build</KBD> if possible. In some cases it may be |
doing a <KBD>make build</KBD> if possible. In some cases it may be |
necessary to rebuild and install the <KBD>config</KBD> utility before |
necessary to rebuild and install the <KBD>config</KBD> utility before |
|
|
It is important to note that upgrading from a release to the current tree |
It is important to note that upgrading from a release to the current tree |
by rebuilding the sources can be rather difficult due to dependencies |
by rebuilding the sources can be rather difficult due to dependencies |
that are often not obvious. Therefore, it is suggested that you first |
that are often not obvious. Therefore, it is suggested that you first |
install the latest snapshot before attemping a tree build from source. |
install the latest snapshot before attempting a tree build from source. |
|
|
<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> |