Re: advice on a patch set
martin f krafft <email@example.com> writes:
> Hi all,
> I am trying to package the swsusp2 kernel patch, which comes in
> hundred little files. My thought was to simply concat these files
> into one large patch for use with kpatches... however, this does not
> work because some files are created by early patches and later
> modified. Since kpatches first tests the patch with --dry-run, it
> will fail when the later patches do not find a file to patch.
> What can I do? Is there a tool that can merge multiple patches into
> a single patch in a "recursive" manner (i.e. to produce the smallest
> patch that has the same result)?
> combinediff looks promising, but the approach I tried...
> 1 + 2 -> A
> A + 3 -> B
> B + 4 -> C
> did not work (it can only merge pairs).
> Thanks for any help.
Why not just put all the patches into /usr/src/kernel-patches/swsusp2
and apply them in order? Nothing wrong with having many files.