I am following the instructions located here to setup my server. It states that I have to apply a patch which I've downloaded onto the machine. My question is, the article says to use the following command:
/usr/src/linux # patch -p1 < file.diff //note I replace file.diff w/ routes-2.6.36.16.diff
This returns:
-bash: /usr/src/linux: No such file or directory
I go on to assume that /linux #
should be replaced with the actual linux kernel version/dir. I've tried this using the following command:
/usr/src/linux-headers-2.6.35.22 patch -p1 < file.diff
This returns the same. When I view the contents of /usr/src I only have two directories linux-headers-2.6.35.22
and linux-headers-2.6.35.22-generic-pae
I need guidance as to the correct way to apply a patch to the kernel.
Edit
If I execute /usr/src/linux-headers-2.6.35.22/ patch -p1 file.diff
I get -bash: /usr/src/linux-headers-2.6.35.22: is a directory
. I need to know how I go about finding the specific file that needs to be patched here...