Messages in this thread | | | From | Jesper Juhl <> | Subject | Re: Documentation - how to apply patches for various trees | Date | Thu, 4 Aug 2005 01:19:19 +0200 |
| |
On Wednesday 03 August 2005 23:46, Bodo Eggert wrote: > On Wed, 3 Aug 2005, Jesper Juhl wrote: > > > +What is a patch? > > > +To correctly apply a patch you need to know what base it was generated from > > +and what new version the patch will change the source tree into. These > > +should both be present in the patch file metadata. > > This is usurally not true for kernel patches, the directories are mostly > named a and b. You can however deduce the to-bepatched version and the > patched version from the filename. > hmm, I'd say the patch filename could be considered "metadata" as well.
> [...] > > Or: bzcat patch1 patch2 patch3 | (cd linux-oldversion && patch -p1) > yes, there are many ways, impossible to list them all, but this might be a good example to add, just to show application of several patches in one go.
> <snip lots of good stuff>
I need to get some sleep now, but I'll add most of your text to the document tomorrow and post a new patch.
Thanks!
-- Jesper
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |