In the last mail Russell King said:

> [EMAIL PROTECTED] said:
> > I have a question about the frequent patches Russell generates.  I am
> > wondering if instead of generating patches against a stock 2.2.7 kernel,
> > for example, it would be possibly to generate a patch for 2.2.7 against
> > a 2.2.6 kernel with the last 2.2.6-rmk patch.
> 
> The patches are generated automatically between a clean source tree
> and the current tree.  The script:

> Probably your best way to do this would be to check out a copy
> of my tree from your VCS, unpatch it, apply Linus' patches, and
> then apply my patch to that.  This would be an indirect way, but
> would get you to the same point.

I found that I run out of memory doing this.

My current approach is to (say)

untar linux 2.2.6 as a clean tree
apply Linus' 2.2.6 -> 2.2.7 patch
find /usr/src/linux -name \*.rej -print         # Check for no rejects
rm `/usr/src/linux -name \*.orig -print`
tar up 2.2.7 (ready for the next hike)
apply Russel's patch.

This way I never need to unpatch, and I don't have to apply a string of Linus'
patches all the way from 2.2.2 (or whatever the full version I downloaded was)

Nick
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to