Applying patch(es) to a kernel
From MEPIS Documentation Wiki
- You would download the patches you need into a folder of your choice.
- 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.
- 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.