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

Re: applying patch



On Fri, 8 Apr 2005, vinai wrote:

On Fri, 8 Apr 2005, Tamas K Papp wrote:

I want to try 2.6.12-rc2.  I downloaded and extracted the latest
2.6.11 from kernel.org, and tried to apply the 2.6.12-rc2 patch.  I
get messages like this:

patching file drivers/media/video/adv7170.c
Reversed (or previously applied) patch detected!  Assume -R? [n]

What should I answer here?  Or should I just wait for 2.6.12 final?  I
am trying to get sleep support for my powerbook.

When I applied the .12-rc2 patch last night, I did not have to answer
any questions.  I did when I was trying to patch the 2.6.11.6 sources,
but the .12-rc2 patch applied cleanly to 2.6.11.

This is what I did:

   - unpacked linux-2.6.11.tar.gz -> linux-2.6.11 directory
   - unzipped 2.6.12-rc2-mm2.bz2 in the same directory when the 2.6.11
     source directory was.
   - entered the linux-2.6.11 directory and ran the command:

       $ patch -p1 < ../[name of patch file]

and it applied cleanly, without any error.

I may have spoken too soon (doing that too often of late - getting to be
a REALLY bad habit ;-) ...  I just tried grabbing the linux-2.6.11 tree
from kernel.org, and the .12-rc2 patch, and they no longer seem to apply
cleanly.

One thing I did notice is that all the files in the patch directory are
dated today, so they have been updated in the last 24 hours.  I'll check
when I get back home, but I think the patch file I downloaded (and which
worked) is probably very different from the one now available from the
kernel.org front page ...  The newer one also seems a lot smaller - the
one I used last night seemed to be around ~ 18 MB (uncompressed).  The
one now available is 9 - 10 MB ...

I can report back when I have something more definitive.

vinai



Reply to: