Re: custom kernel, how to revert patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 9, 2013 at 11:25 AM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> I'm trying to track down a btrfs regression and need to revert a ~10 month
> old patch using 3.12.0-rc4 as the basis.
>
> This http://fedoraproject.org/wiki/Building_a_custom_kernel has ApplyPatch
> examples in the spec file, which works fine. Is there an inverse command? Or
> do I need to do it manually with patch -p0 -R < ?

You can call ApplyPatch with -R.  e.g.

ApplyPatch old-btrfs-commit.patch -R

Or you could generate a revert commit from git and just apply that.

(BTW, questions like this are better suited to the Fedora kernel list.)

josh
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux