Rob Hudson wrote:

>I know how to apply a patch to the kernel tree, but how do you apply a
>2nd patch?  I'm running 2.4.15-pre5, and if I want to patch my tree to
>-pre7, do I need to start from 2.4.14 again or can I patch over an
>already patched tree?  Can you undo a patch?
>
>Thanks,
>Rob
>--
>Rob <rob_at_euglug_dot_net>
>my @euglugCode = qw(v+++ e--- eug+ bsd+++ gnu+ S+++);
>
>
My understanding (someone correct me if I'm wrong here) is that the pre* 
patches are cumulative, so pre7 will include everything in pre5.  If you 
take a look at the file sizes, this seems to be the case.  But I think 
if you just apply pre7, patch will have a hard time doing it because 
it's going to expect the unpatched version.  So I'd try to remove the 
pre5 patch and then apply pre7.  You can use patch -R to remove a patch, 
see the manpage, it reverses the new and old files.  If things get 
screwed up (which you can tell by doing 'find . -name "*.rej"', these 
are the ones that patch determined wouldn't patch cleanly), I'd start 
with a clean full version and try again.  Let us know how it goes...

Kahli

Reply via email to