[Planetlab-devel] building a new PL kernel rpm from cvs
Marc E. Fiuczynski
mef at CS.Princeton.EDU
Wed Nov 22 14:51:37 EST 2006
Here is the recipe to build a kernel rpm from the PL linux-2.6 sources.
xwd=`pwd`
PLCVS=:pserver:anonymous at cvs.planet-lab.org
cvs -d $PLCVS co -d linux-2.6-mine linux-2.6
cvs -d $PLCVS co -d build-mine build
cd build-mine
mkdir SPECS SOURCES
cd SPECS
ln -fs $xwd/linux-2.6-mine/scripts/kernel-2.6-planetlab.spec
cd ../SOURCES
ln -fs $xwd/linux-2.6-mind kernel
cd ..
make kernel
#replace above w/ "make vnet" if you want both the kernel and vnet rpms
Note that the above make will build the uniproc, smp, xen, and uml kernels
if you just want to build the uniproc (or xen) kernel, edit the above spec
file and turn off the other builds. You'll see the appropriate defines at
the beginning of that file.
More information about the Devel
mailing list