Tracking Rawhide's (released) kernel rpms through kernel.git

Chuck Ebbert cebbert at redhat.com
Mon Feb 28 15:40:15 UTC 2011


On Thu, 24 Feb 2011 16:20:41 -0500
Don Zickus <dzickus at redhat.com> wrote:

> For RHEL we added code like this
> 
> # empty final patch file to facilitate testing of kernel patches
> Patch99999: linux-kernel-test.patch
> 
> # conditionally applied test patch for debugging convenience
> %if %([ -s %{PATCH99999} ] && echo 1 || echo 0)
> %patch99999 -p1
> %endif
> 
Fedora has something similar:

  Patch02: git-linus.diff

  ApplyOptionalPatch git-linus.diff

This gets applied early, before any fedora patches, and since it's
really meant for applying an upstream git snapshot it gets applied
even when building a vanilla upstream kernel.

I use it all the time for testing -stable updates.


More information about the kernel mailing list