The reference you may find hints in is the specfile for openSUSE kernel [1]. And possibly a kmod-matching fixup [2]. Out of curiosity -- why cannot you use a newer kernel? (E.g. the stable 6.5.2 distributed in openSUSE)? [1] https://github.com/SUSE/kernel-source/blob/stable/rpm/kernel-binary.spec.in [2] https://github.com/SUSE/kernel-source/blob/stable/patches.rpmify/usrmerge-Adjust-module-path-in-the-kernel-sources.patch