How do you patch a kernel?
I have Linux RedHat 8.0 kernel 2.418-18.8.0
I want to patch to 2.4.19. I have downloaded the patch from kernel.org I have tried reading the how-to's but they do not make much sense to me. I have the kernel source loaded and (I think) the proper development utilities. I am using a desktop manager....WindowMaker. Gnome and KDE are too bulky. I like making the menus the way I want them. ;-) Any help would be appreciated. If you can guide me to a step by step section on the web that would be great as well. :-) |
These are the steps I take to patch a kernel:
1) If your |
You essentially just want to use the "patch" program at the command line.
If you have your 2.4.18 kernel in the /usr/src/linux/ directory, and you put the 2.4.19 patch in /usr/src/linux-patch-2.4.19 (after running "gunzip" on it -- I don't remember what the file is really called), you should be able to just "cd /usr/src/linux ; patch < ../linux-patch-2.4.19" and it should chug away, patching the sources for you! Then you'll get to enjoy the process of building a custom kernel. Don't get too overwhelmed! Defaults are your friends. ;-) |
Gidday!
I'd be cautious :} MDK (as RH) are busy modifying the kernels in their distro ... I wouldn't bet my life on patching a MDK-kernel with a diff from kernel.org ;) Cheers, Tink |
All times are GMT -5. The time now is 04:38 PM. |