Re: What is the current procedure to patch the kernel in the spec file?

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

 



On Wed, 31 May 2023 13:43:44 -0500
Justin Forbes <jforbes@xxxxxxxxxxxxxxxxx> wrote:

> Patch2: just adds it to the file manifest for the srpm.  You have to
> apply it in some manner. While we used to have a weird git routine
> that set everything up as a git tree and did git am using the
> manifest, that was a lot of unnecessary overhead, and of little value
> when most development is done in the source tree now.
> You need another line in the spec:
> 
> ApplyOptionalPatch 0001-my_custom_change.patch

Thanks, that is exactly what I was looking for.

> Of note, the linux-kernel-test.patch is also meant to facilitate
> people doing quick builds with a patch in dist-git.   You could 'cat
> 0001-my_custom_change.patch > linux-kernel-test.patch' and not have to
> touch the spec at all.

I eventually figured that out.  :-)
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[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