Patching: How to mess up your clean copy of the
kernel
source.
At this point, you need to apply any patches you need or want. Users
who will be compiling 2.2.17 will need to apply the USB backport patch.
Users of 2.4.x can just skip ahead to the section labeled "Configuring."
It is a good rule of thumb to apply patches in the order, from what
you must have to what you'd kinda like to have. (This comes into
play later!)
To apply the backport patch on 2.2.17, copy the USB backport patch to
/usr/src, and execute the following commands:
cd /usr/src/linux
patch --dry-run -p 1 -i
/usr/src/usb-2.4.0-test2-pre2-for-2.2.16-v3.diff
A list of patched files will scroll by. If you see it whine about
"failed
hunks", something is wrong.
If that command completes successfully, do it again, without the
--dry-run
option.
patch -p 1 -i
/usr/src/usb-2.4.0-test2-pre2-for-2.2.16-v3.diff
Apply the update in the same manner, just change the file name to the
name of the update.
In my particular case, I applied the ReiserFS,