[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Applying multiple patches
"Elgar, Jeremy" wrote:
> Hi,
> Sorry if this is covered somewhere but I had a look last night (and asked
> various people) but came up blank.
> Is there a way to apply multiple patches to a source tree (if the patches
> were produced from the same base tree)
> The problem I have is thus, I want to apply patch-2.4.9-ac6 (I guess might
> as well do ac7 now) and the xfs patch
> but both are from a vanilla 2-4-9.
> Is there a standard way of doing this or is a `by hand solution`
> (I managed to apply the ac first then the xfs (ignoring a couple of files
> that are older in ac) but it was the config file that was messed up)
> Its probably quite simple but I couldn't figure it
Apply them in any order (perhaps starting with the bigger one).
While patch runs, it prints out diagnostic messages.
If one reads "... Hunk failed ..." it generates files like

Then you have to open look at the lines with "-" and "+"
in front and apply the patch manually to "".

I would search with

/usr/src/linux# find . -name "*.rej"
and apply the above procedure to every found file, deleting the .rej
and .orig when done.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:02    [W:0.032 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site