LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   patch my kernel (https://www.linuxquestions.org/questions/linux-general-1/patch-my-kernel-204175/)

alaios 07-12-2004 02:29 PM

patch my kernel
 
Hi i have downloaded the following kernel
ftp://ftp.kernel.org/pub/linux/kerne...-2.6.7.tar.bz2
and the following patch...
ftp://ftp.kernel.org/pub/linux/kerne...atch-2.6.7.bz2
Can u plz tell me how i can apply it?

XavierP 07-12-2004 02:33 PM

http://www.kernel.org/pub/linux/docs/lkml/#s1-11 - which I got from www.kernel.org and clicked through.

Andrew Benton 07-12-2004 04:07 PM

You can't apply a 2.6.7 patch to a 2.6.7 kernel, it's already a 2.6.7 kernel. A 2.6.7 patch is to make the 2.6.6 kernel sources into the 2.6.7 kernel sources.

alaios 07-12-2004 06:34 PM

aha.... and how i can apply a 2.6.7 patch in a 2.6.6 kernel?

Andrew Benton 07-12-2004 06:47 PM

Copy the patch into the same folder as the kernel source (usually /usr/src/linux ).
cd /usr/src
cp /path/to/patch-2.6.7.bz2 .
bzip2 -d patch-2.6.7.bz2
cd linux
patch -p1 < ../patch-2.6.7
make mrproper
and so on


All times are GMT -5. The time now is 02:54 PM.