Skip to content

Makefile.common: Do not pre-maturely bump version number during merge window

Don Zickus requested to merge version into os-build

I am not sure why the version number is bumped for rc0, but it causes the rpm to build with the wrong version number. This puts the kernel modules in the wrong directory and the booted kernel can't find them.

For example, currently the 5.8-rc1 merge window has 5.7.0 in the top level Makefile. But the kernel.spec puts the modules in 5.8.0-0.rc0 directory which doesn't match.

I believe this was for legacy reasons, but forgot why. Not sure why we are suddently seeing this after a year. This might be the first time we tried building a kernel before -rc1 is officially out.

Signed-off-by: Don Zickus dzickus@redhat.com

Merge request reports