Quote:
Originally Posted by Greg_Morgan
This is the script I use:
#! /bin/ksh
#Step #1: Get the source code.
# Get the complete source code
cd /usr
export CVSROOT=anoncvs@obsd.cec.mtu.edu:/cvs
cvs -d$CVSROOT checkout -rOPENBSD_4_5 -P src ports xenocara
...
|
While I can understand that the building the system appears tedious, it is best done manually. The above script will work fine assuming that /usr/src/, /usr/xenocara, & /usr/ports are empty. The problem is when you attempt to update the various components the second, third,
etc. times. Instead of doing a CVS
checkout, you should be doing a CVS
update. You should review the information found in Section 5.3.3 & 5.3.4 of the FAQ which covers this process:
http://openbsd.org/faq/faq5.html#BldKernel
...but I
highly recommend you rethink whether the decision to automate this process is really what you want to do.