On Sun, Dec 20, 2020 at 8:01 PM Phil Perry pperry@elrepo.org wrote:
Technically, rebuilding the RHEL kernel(s) is not something that is difficult to do, but this is something I would really like to see Red Hat / CentOS make available as part of Stream since a wider need for it has been identified. This is something that has been repeatedly
Given that subtle gcc changes sometimes interact unfortunately with kernel compilation, I *would not* do kernel compilation from CentOS 8 Stream based systems. Locking down the build environment for kernels is especially vital because it can be *very* difficult to sort out the subtleties of the "include" file changes of critical tools like gcc.
If Red Hat are unable to provide a solution, then it becomes a simple logistical issue for users to pull in the kernels that will exist as part of other community rebuild projects (e.g, to run a Rocky or whatever kernel on Stream).
Our friends at Red Hat already do something like this for "real-time" kernels referred to as "kernel-rt", which is where I last encountered the need for hand-tuning kernels. It's in the "centos/8/rt/" in the yum merrors.