Thursday, April 16, 2009

Patch linux kernel 2.6.29 to 2.6.30-rc2

Download "2.6.29" NOT "2.6.29.1" and the patch for 2.6.30-rc2 from kernel.org.

then

tar xvf linux-2.6.29.tar.bz2
bunzip2 patch-2.6.30-rc2.bz2
cd linux-2.6.29
patch -p1 <../patch-2.6.30-rc2


now compile as usual.

You can check the Makefile for the new version:

/usr/src/linux-2.6.30-rc2$ head Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 30
EXTRAVERSION = -rc2
NAME = Temporary Tasmanian Devil


Rename the source dir also

mv 2.6.29 2.6.30-rc2