LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   kernel patching? (https://www.linuxquestions.org/questions/debian-26/kernel-patching-411244/)

clydemaxwell 02-03-2006 09:01 AM

kernel patching?
 
Okay so I recently upgraded to the 2.6.8 kernel, being very simple and just using apt-get for it...but recently I've wanted to add a few kernel patches I've found (for bootsplash, kernel suspend (since hibernate scripts aren't working with swusp, but that's another topic!) etc) and can't...really figure out how to do it. The linux kernel HOWTO has a section on patching, which tells me to use the patch -P0 command with the patch file as the input, in the /usr/src directory. However, this always fails (what file would you like to patch?) so I'm a bit lost. Any debian-specific kernel patching data I've found seems to be on downloading a supported patch through apt then using make-kpkg with --added-patches:
For note, I'm trying to install the gentoo fbsplash patch at dev.gentoo.org ~spock/projects/gensplash and the suspend 2 patch at suspend2 .net

thanks for your help~

HappyTux 02-03-2006 09:56 AM

You need to be in the /usr/src/kernel_source_directory then patch -p1 /path/to/patch/file.


All times are GMT -5. The time now is 12:48 AM.