bsdjunkie
March 7th, 2003, 21:40
First you need to download the Darwin Development Tools, since these are not part of the OSX Developer Tools package.
http://developer.apple.com/darwin and follow the links for the OSX stuff.
Grab the Darwin Source Code. You must be registered with Apple do grab this.
Run uname -v and figure out what version you are running.
% uname -v
Darwin Kernel Version 6.0: Sat Jul 27 13:18:34 PDT 2002;
root:xnu/xnu-344.obj~1/RELEASE_PPC
Now you need to translate that to an Apple CVS tag. Prefix the version with Apple- to know what one to grab. So in this case, it would look like the following:
Apple-344
use cvs to checkout the code.
http://developer.apple.com/darwin/tools/cvs/
setenv CVSROOT :pserver:username@anoncvs.opensource.apple.com:/cvs/Darwin
replace username with yours.
cvs login
cvs -z3 checkout APPLE_CVS_TAG modulename
so
cvs -z3 checkout -r Apple-344 xnu
%cd xnu
%source SETUP/setup.csh
make
backup your old kernel just in case =)
%sudo cp /mach_kernel /mach_kernel.old
%sudo cp BUILD/obj/RELEASE_PPC/mach_kernel /
reboot and cross your fingers =)
:roll:
http://developer.apple.com/darwin and follow the links for the OSX stuff.
Grab the Darwin Source Code. You must be registered with Apple do grab this.
Run uname -v and figure out what version you are running.
% uname -v
Darwin Kernel Version 6.0: Sat Jul 27 13:18:34 PDT 2002;
root:xnu/xnu-344.obj~1/RELEASE_PPC
Now you need to translate that to an Apple CVS tag. Prefix the version with Apple- to know what one to grab. So in this case, it would look like the following:
Apple-344
use cvs to checkout the code.
http://developer.apple.com/darwin/tools/cvs/
setenv CVSROOT :pserver:username@anoncvs.opensource.apple.com:/cvs/Darwin
replace username with yours.
cvs login
cvs -z3 checkout APPLE_CVS_TAG modulename
so
cvs -z3 checkout -r Apple-344 xnu
%cd xnu
%source SETUP/setup.csh
make
backup your old kernel just in case =)
%sudo cp /mach_kernel /mach_kernel.old
%sudo cp BUILD/obj/RELEASE_PPC/mach_kernel /
reboot and cross your fingers =)
:roll: