On Thu, Jul 29, 2021 at 6:48 AM Hans de Goede <hdegoede(a)redhat.com> wrote:
Hi All,
Every now and then I sync the .config for the kernels which I build locally
with the Fedora kernel's .config .
After downloading kernel-core-5.14.0-0.rc3.20210728git7d549995d4e0.31.fc35.x86_64.rpm
and extracting the /lib/modules/5..../config file I noticed that all the debug
options seem to be enabled.
AFAIK those should only be enabled for the kernel-debug-core variant ?
So this seems to be a bug.
This is incorrect, and has never been the case for rawhide, or at
least not in the last 10 years. For rawhide, the first build of any
given rc is built as a release kernel with separate debug kernels.
Any "git snapshot" kernel is built as a debug kernel only. For
example, kernel-5.14.0-0.rc3.29.fc35 has both debug and nondebug
variants built, but
kernel-5.14.0-0.rc3.20210728git7d549995d4e0.31.fc35 only has debug
kernels. In the past, we did not even have a subpackage named
kernel-debug, but not too long ago, some people asked that we create a
meta package so that people who only wanted to run debug kernels could
keep kernel-debug installed, and it would always point to the correct
option. This was MR
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1133
Justin