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