Re: patching the kernel

Sam Ravnborg (sam@ravnborg.org)
Sun, 9 Mar 2003 22:19:59 +0100


On Sun, Mar 09, 2003 at 05:11:21PM -0500, 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.

Did you read README in the top-level directory of your kernel src?
It is wise to run
$ cp .config ../saved-config
$ make mrproper <= this one deletes all .o files etc.
$ cp ../saved-config .config
$ make oldconfig dep bzImage modules
after patching the kernel

Did not build a 2.4.* kernel for a while, but the README should provide
all the details.

Sam

-
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/