lkml.org 
[lkml]   [2003]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: patching the kernel
Date
On Sunday 09 March 2003 04:11 pm, joe briggs wrote:
> My apologies for this question that is so basic to all of you,
> but can any of you please point me toward a howto or
> instructions for exactly how to 'patch a kernel'? For
> example, at kernel.org, the latest stable kernel is 2.4.20,
> and is actually a patch. I currently use 2.4.19 under Debian
> and routinely rebuild & install it no problem. If I download
> a kernel 'patch', do I apply it to the entire directory, or
> the compiled kernel, etc.? Thanks so much.

I usually use these patch commands, as they make finding any
errors so much easier:

bunzip patchfile.bz2 ## or...
gunzip patchfile.gz

cd linux-2.4.x
## To see if the patch is actually going to work
patch -p1 --batch --quiet --dry-run < ../patchfile
## To actually apply the patch
patch -p1 --batch --quiet < ../patchfile

---scott
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.025 / U:2.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site