Sharpened Blade via users writes:
I have a few custom (out-of-tree) drivers and patches, and I want to
add
them to a rpm package for the kernel, how can I do that. The drivers have to
go in the staging folder, but they dont seem to get built by the spec file.
Correct. The mere presence of some additional patch files makes no
difference, whatsoever.
You also need to modify the spec file accordingly, and apply the patch.
You might want to start by looking at some other, smaller, simple packages
that apply a handful of basic patches to upstream source before building it.
The kernel package is one of the bigger and the most complicated ones. You
want to get your bearings, first, by looking at something simpler.