Re: Patches vs complete tarballs....

Keith Owens (kaos@ocs.com.au)
Wed, 12 Aug 1998 15:18:47 +1000


On Tue, 11 Aug 1998 22:19:36 -0400 (EDT),
John Cochran <kernel@fiawol.org> wrote:
> 2. cd into said directory
> 3. patch -p2 < patch_file > results
>*most* of the files are patched correctly. However, I average about 2 to
>3 files per kernel version that fail. [snip]
>Now, I'm willing to admit that I might be doing something wrong.

cd top-level-linux-2.x-directory
zcat patch-2.x.y.gz | patch -p1 --quiet -E

Has worked for everything from 2.0.30 to 2.0.35 and 2.1.85 to 2.1.114.
So it is something you are doing wrong or possibly your version of
patch. Notice -p1, not -p2.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html