[ltp] patch the kernel

Gérald Arnould linux-thinkpad@linux-thinkpad.org
Tue, 28 Oct 2003 11:52:24 +0100


Le Mardi 28 Octobre 2003 07:52, gustavo a écrit :
>   Hello
>   I'm tring patch the kernel, the first lines of the patch are:
> /*        diff -Nru a/Documentation/DocBook/Makefile
> b/Documentation/DocBook/Makefile
>         --- a/Documentation/DocBook/Makefile    Sat Oct 25 11:45:09 2003
>         +++ b/Documentation/DocBook/Makefile    Sat Oct 25 11:45:09 2003
>         @@ -12,7 +12,7 @@*/
> therefore I move the pacth under the kernel-sourceand tryed patch with 'p=
1'
> /*        >   patch -p1 <patch-2.6.0-test9
>         patching file Documentation/DocBook/Makefile
>         Reversed (or previously applied) patch detected!  Assume -R? [n] =
*/
> this question back for each file in the patch. I also try  'p0' and then:
> /*        >patch -p0 <patch-2.6.0-test9
>         can't find file to patch at input line 4
>         Perhaps you used the wrong -p or --strip option?
>         The text leading up to this was:*//*
>         --------------------------
>
>         |diff -Nru a/Documentation/DocBook/Makefile
>
> b/Documentation/DocBook/Makefile
>
>         |--- a/Documentation/DocBook/Makefile    Sat Oct 25 11:45:09 2003
>         |+++ b/Documentation/DocBook/Makefile    Sat Oct 25 11:45:09 2003

Are you applying your patch against vanilla 2.6.0-test8 source tree ? If it's 
against 2.6.0-test8-mm1, some parts of test9 patch have already been applied.