Re: Patch 2.2.10 is wrong

Wakko Warner (wakko@animx.eu.org)
Tue, 15 Jun 1999 17:05:26 -0400


> > > 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

This *DOESNOT* work for what I wanted... -p1 does. Prefer it to be verbose
about the filename so -s is out...

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

According to the manpage, it is.

Must have been my patch version or something. never thought about -p1 but
it works...

-
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/