Re: Can't build kernel RPM with local (non-git) patch

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

 



On Sat, Nov 7, 2015 at 7:59 PM, Ian Pilcher <arequipeno@xxxxxxxxx> wrote:
> I just installed F23 (coming from F21) and encountered an irritating
> new behavior when trying to build a custom kernel RPM.
>
>   Patch does not have a valid e-mail address.
>
> Well no kidding.  It's a locally created (with diff) patch, not coming
> from a git repository.
>
> Is there a way to disable this check?

In a word, no. The kernel patches are applied using "git am", there's
been a couple of threads on it. If you're doing the patch in a git
checkout of the kernel it's easy enough to use git to create the
patch.

The process I use is:
git checkout -b some-name
make changes
git commit -a -m "quick message"
"git log" to work out the hash
git format-patch <previous hash to patch>

One of the easier ways to switch between branches is actually to use
"fedpkg switch-branch master" and branches allow keeping master clean
for easy "git pull" as it works generally. It's fairly straight
forward once you get a simple work flow, there's lots of tutorials
online.

Peter
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux