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

Re: kernel patching



On Sat, Oct 15, 2005 at 09:42:02AM +0530, L.V.Gandhi wrote:
> I already had linux kernel linux-2.6.13.2.tar.bz2. I untaared in
> /usr/src. and sym link to linux. I downloaded patch for 13.3 and 13.3
> gz files and gunzipped.
> I did dry run patch. I got error.

Look at the patch file - you should see a line which modifies
EXTRAVERSION right near the top. For example:

$ bzcat patch-2.6.13.4.bz2 |head
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 13
-EXTRAVERSION =
+EXTRAVERSION = .4
 NAME=Woozy Numbat

The patch files are from the base release, not the last EXTRAVERSION -
so you need linux-2.6.13 to patch rather than linux-2.6.13.2. Sorry!

-- 
Jon Dowland
http://jon.dowland.name/



Reply to: