Kernel Patching
Hi
How do you patch the linux kernel? |
The easiest way for me to do it is to put the patch in your /usr/src directory then cd to your linux or linux-2.4.x (whatever yours is you are using) directory then do a patch command:
zcat ../patch-2.4.x.gz | patch -p1 You could also cd into the /usr/src/linux (as before) directory and type the full path to the patch if you don't wanna move it. |
Also, if you have downloaded a patch that isn't zipped.. use cat instead of zcat.
John |
So after you do that do you have to recompile the kernel?
|
Yes. The kernel does have to be recompiled after you do this. Also, if the option you patched in adds configuration options you will have to run your favorite kernel config method and deal with the new options accordingly.
|
All times are GMT -5. The time now is 06:46 AM. |