PDA

View Full Version : [ubuntu] Patching kernel



k_i_d
November 30th, 2009, 04:06 PM
Can somebody explain how patching should be done.
Fast step-by-step tutorial would be helpfull for a lot of us.

I just install Ubuntu after a long break with Linux. My last distro was Slackware :] But to the point. I need to patch kernel to use mesh point WiFi. But using a comand:

bzcat ../patch-2.6.31.6.bz2| patch -p1gives me respond:

File to patch:with every file to be patched. I don't think that is normal - so looking for help from you.

albandy
November 30th, 2009, 04:11 PM
from what directory are you appliying the patch?

k_i_d
December 2nd, 2009, 11:32 AM
patch_file is in /usr/src. But the command is execute from /usr/src/linux-headers2.6.31-15-generic.

albandy
December 3rd, 2009, 11:11 AM
try p0 instead of p1