Kevin Brosius on Mon, 29 Apr 2002 18:00:13 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] kernel patching


Paul wrote:
> 
> I want to try patching my kernel from 2.4.10 to 2.4.18.  From what I
> read, I must use each patch between the two revisions.  So I need to
> run the 2.4.11 patch first, but the name of the patch suggests that I
> should avoid it.  "patch-2.4.11-dontuse.gz"  Does that mean I should
> not run the system based on that patch, but that it would be OK to use
> it and move on the 2.4.12 patch?
> 
> I've never patched a kernel before.  Does anyone have any
> suggestions?  (I want to patch instead of downloading the newer kernel
> for two reasons.  I'm on a dial-up and I want to learn to patch.)

The kernel source has a rather nice script for this, so what I usually
do is:

- download all the patches from the lowest I need to the highest.
- place them all in one directory.
- in the case of the 2.4.11-dontuse patch, you'll need to rename it, or
make a softlink with the normal name, so the script recognizes it.
- run the kernel patch script.  I forget the name and location, but I
think you'll find it just off the kernel source root directory, maybe in
'scripts'.

-- 
Kevin Brosius

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug