Hi, On 3/18/21 12:42 PM, Peter Robinson wrote: >> In kernel 5.10.x, it was enough to add the line for example "Patch 990: example.patch" to apply the patch. >> Now in 5.11.x it looks like this method doesn't work. > > You can still do that for a local build, you also need to have an > ApplyOptionalPatch line, see the "ApplyOptionalPatch > patch-%{stableversion}-redhat.patch" example around line 1260 in the > spec. I guess that might work, but AFAIK the preferred way of doing this starting with 5.11 is to add the contents of the patch to the existing (empty) linux-kernel-test.patch file. You can add multiple patches there by just concatenating them, e.g.: cat 00*.patch > linux-kernel-test.patch or: cat patch1.patch > linux-kernel-test.patch cat patch2.patch >> linux-kernel-test.patch cat patch3.patch >> linux-kernel-test.patch etc. Likewise with 5.11 and later Kconfig options can be overriden for local builds by adding them to the kernel-local file, e.g. echo "CONFIG_AMD_SFH_HID=m" > kernel-local Regards, Hans _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure