However, in doing this, you may be trading one chore for another. If you are using
version 2.6.13, for example, and the patch containing the module you need is version
2.6.18, you can??™t just apply the 2.6.18 patch file and go on your merry way. You must
apply all the intermediate patch files, in the order they were released (first 2.6.14, then
2.6.15, and on up to 2.6.18).
For simplicity??™s sake, download your patches to a /patch directory in the source tree. You
will need Write privileges on the directory to do this.
If you need to patch several versions at once, as in the previous example, there is help.
The patch-kernel script is located in the /usr/src/linux/scripts folder. This script
applies all the necessary patches to bring your kernel up to the latest version.
TIP
Before running the patch-kernel script, back up your existing kernel source files, just
in case something goes wrong.
The syntax for the patch-kernel script is as follows:
patch-kernel
stopversion
The source directory defaults to /usr/source/linux if you don??™t specify it here, and the
patch directory defaults to the current working directory.
Pages:
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972