"Christopher D. Reimer" wrote:
>
> Greetings!
>
> I found a situation that's not covered in any man pages (unless I'm not
> looking up the right word), in the readme files, or the handful of Linux
> books that I have.
>
> How do you apply a kernel patch file?
>
> I thought it would relatively easy to take the 2.2.6 patch and apply it to
> the full version of the 2.2.5 source code. I tried "patch" and "diff" but I
> guess those programs don't work on a "unified diff" file that supposed to be
> applied against a source code tree. Then again, maybe downloading the full
> 2.2.6 source code would've been easier... <G>
Copy the patch file into the top level kernel source directory
cd to the said directory.
The patch programme has to be invoked with the -p1 parameter.
zcat patch-2.2.6.gz | patch -p1
or gunzip patch-2.2.6.gz | patch -p1
or bzcat patch-2.2.6.bz2 | patch -p1
or bunzip patch-2.2.6.bz2 | patch -p1
or patch -p1 < patch-2.2.6
Henning
--
H. Henning Vossieck - [EMAIL PROTECTED] - http://www.hhv.de/
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html