LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to patch a kernel (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-patch-a-kernel-775899/)

fw12 12-15-2009 05:12 PM

How to patch a kernel
 
Kindly explain how to apply this patch to a linux kernel:

http://git.kernel.org/?p=linux/kerne...9e8945cf0f1b98

uname -a
gives me kernel version:
2.6.22.14-72

Thx.

pljvaldez 12-15-2009 06:05 PM

http://www.howtoforge.com/kernel_compilation_fedora

sundialsvcs 12-15-2009 08:09 PM

Normally, you don't "patch" a kernel: you install the kernel that was provided for you by the publisher of the distro you are using. This kernel was built-from-source and aggressively tested for you.

When changes are made to the kernel, they're almost always made in source-code form, then the whole kernel-image is recompiled. On my systems, it takes all of about ten minutes to completely "re-do" my (very stripped down) kernel images completely from scratch. But again, this is not something that you normally do, nor should do.

"One false move... the slightest screw-up..." :eek:

~sHyLoCk~ 12-15-2009 08:15 PM

Usually:
Code:

patch -p1 < patchname

fw12 12-16-2009 10:44 AM

Thanks for your answers.


All times are GMT -5. The time now is 07:50 AM.