I'm an experienced user, but I can't figure this one out. I need to patch a kernel using the rpm method, but the changes to the kernel sources require that the kernel be patched, and that the kernel be configured to make the patch work (i.e. some options need to be selected in the kernel config to make the patch work.
Also, there are some user programs that are generated in the kernel sources directory, by the patch. It seems Fedora reverses all changes to the kernel sources when rpm is run to build the kernel.
I had thought about just using
But then none of the Fedora kernel patches will be applied. The compile is exiting with an error. What I need is to generate and apply a patch to the kernel sources, but the kernel config must be done before the patch is generated. That is, I need to apply a patch to then kernel sources, configure the kernel, and then generate another patch that will be applied during the kernel build.
I've made several unsuccessful attempts. Thanks for the help.