lkml.org 
[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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
config.in
config.in.rej
config.in.orig

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

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

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