On Thu, 24 Feb 2011 16:20:41 -0500 Don Zickus <dzickus@xxxxxxxxxx> 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. _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel