How to patch a kernel
You may also have downloaded a patch file (http://www.kernel.org/pub/linux/kernel/v2.4/patch-2.4.19.gz). First make sure that this patch is compatible with your old kernel:
$ gzip -d patch-2.4.19.gz | patch -p1 --dry-run
If the output is full of file foo lines then its ok. --dry-run just test your kernel to see if it's compatible. Now if you are ready to patch it:
$ gzip -d patch-2.4.19.gz | patch -p1
You won't have to do all the following steps if you use a patch. |