Applying patch(es) to a kernel

From MEPIS Documentation Wiki

Jump to: navigation, search
  1. You would download the patches you need into a folder of your choice.
  2. Enter the extracted kernel source directory, and open up a terminal there. It's recommended to put the source somewhere in your /home folder, instead of in /usr/src.
  3. Type patch -p1 < /path/to/kernel/patch (path to kernel patch is the full path to where you downloaded the patch to, ex. /home/donna/patch.diff, the patch.diff is what you would replace with the correct name of the patch). You would run the patch command for all patches you want to add to the kernel.
Personal tools
In other languages