Re: Patch 2.2.10 is wrong

Jeff Garzik (jgarzik@pobox.com)
Tue, 15 Jun 1999 14:07:35 -0400 (EDT)


On Tue, 15 Jun 1999, Jamie Lokier wrote:
> Wakko Warner wrote:
> > This is where I get confused sometimes... I'd rather just do this:
> >
> > cp -lax 2.2.9 2.2.10
> > cd 2.2.10
> > zcat ../patch-2.2.10.gz|patch -p2
> >
> > I get through most files ok, but some don't patch right and it doesn't make
> > sense. Anyone shed some light on that?
>
> zcat ../patch-2.2.10.gz|patch -p1 -E
>
> Never had any problems once I got the hang of "be in the linux directory
> and use -p1 -E".

Since patches are usually generated from outside the linux dir, that's
where I like to be... This is what I use, which is basically "shut up
and be clean unless there's an error"

$ bzcat ~/download/kernel/linux-2.2.9.tar.bz2 | tar xf -

$ # 'linux' is now subdir of current dir
$ bzcat ~/download/kernel/patch-2.2.10.bz2 | patch -sp0

Patch option '-E' is normally unnecessary I think.

Jeff

-
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.tux.org/lkml/