5 - Building the System from Source
CVS repository, created and maintained using CVSup or CVSync.
After deciding which
AnonCVS
server
you wish to use, you must "checkout" the source tree, after that,
you then maintain the tree by running "updates", to pull updated files to your local tree.
The
CVS(1)
command
has many options, some of them are
required to checkout and update a useful
tree. Other commands can cause a broken tree. Following and understanding directions here is
important.
Following -current
In
this case, we will assume we are using a public AnonCVS server,
anoncvs@anoncvs.
example.org:/cvs. We will also assume you are using
sh(1)
as your command shell, if you
are
using a different shell, you will have to adjust some of these commands.
To checkout a
-current CVS src tree, you can use the following:
#
cd /usr
#
export CVSROOT=anoncvs@anoncvs.example.org:/cvs
#
cvs -d$CVSROOT checkout -P src
Once
you have a tree, you can update it at a later time:
#
cd /usr/src
#
export CVSROOT=anoncvs@anoncvs.example.org:/cvs
#
cvs -d$CVSROOT up -Pd
Do'stlaringiz bilan baham: