Hitchhiker's Guide to Openbsd
Download 1.27 Mb. Pdf ko'rish
|
obsd-faq49
Following -Stable
If you wish to check out an alternative "branch" of the tree, such as the -stable branch, you will use the " -r " modifier to your checkout: # cd /usr # export CVSROOT=anoncvs@anoncvs.example.org:/cvs # cvs -d$CVSROOT checkout -rOPENBSD_4_9 -P src This will pull the src files from the OPENBSD_4_9 branch, which is also known as the "Patch branch" or " -stable ". You would update the code similarly: # cd /usr/src # export CVSROOT=anoncvs@anoncvs.example.org:/cvs http://www.openbsd.org/faq/faq5.html (7 of 26)9/4/2011 10:02:02 AM 5 - Building the System from Source # cvs -d$CVSROOT up -rOPENBSD_4_9 -Pd Actually, CVS is nice enough to stick a "Tag" in the checked out file system, so you don't have to remember the " -rOPENBSD_4_9 " part of the command line, it will remember this until you explicitly clear them or set a new tag by using the " -A " option to " update ". However, it is probably better to provide too much info in your CVS command lines than too little. While only the " src " tree has been shown so far, you will do the same steps for " xenocara " and " ports ". As all parts of OpenBSD must be kept in sync, all trees you use should be checked out and updated at the same time. You can combine the checkouts into one line (-stable shown): # export CVSROOT=anoncvs@anoncvs.example.org:/cvs # cd /usr # cvs -d$CVSROOT checkout -rOPENBSD_4_9 -P src ports xenocara However, updates must be done directory-by-directory. At this point, whether you followed -stable or -current you should have a usable source tree. Be very careful which tree you grab -- it is easy to try to compile -current when aiming for -stable. Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2025
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling