File to patch prompt when recompiling Fedora Linux Kernel
kgibm 0600027VAP Visits (2173)
When building a custom Fedora Linux kernel, after you've created a kernel patch and add PatchN/ApplyPatch lines to kernel.spec and run rpmbuild, you may get a prompt that asks 'File to patch:'. In my case, this is because I added the ApplyPatch line after the last ApplyPatch line in kernel.spec, but this turned out to be in the wrong directory. Instead, search for "# END OF PATCH APPLICATIONS" and add the ApplyPatch line before this comment (confusingly, the comment does not mark the last ApplyPatch line!).