Hello community,
After reading #start-here this is going to be my first topic.
I’m trying to test some patch for my TrackPoint driver. To do so I’m trying to setup a build environment to build a custom kernel following [0].
My test lab is a VM with F34 running kernel-5.12.5-300.fc34.x86_64
. When trying to download the source rpm for this kernel I get the following error:
$ sudo dnf download --source kernel
[sudo] password for jkastning:
enabling fedora-source repository
enabling fedora-modular-source repository
enabling updates-source repository
enabling updates-modular-source repository
Last metadata expiration check: 0:16:16 ago on Sun 23 May 2021 01:56:42 PM CEST.
No package kernel-5.12.5-300.fc34.src available.
Exiting due to strict setting.
Error: No package kernel-5.12.5-300.fc34.src available.
I managed to download kernel-5.11.12-300.fc34.src.rpm but that’s not the running version I would like to rebuild with a patch.
Do you have some advice where to find the SRPM for my running kernel version?
In case I’m on the wrong path here trying to accomplish what I’m trying to do, please point me in the correct direction.
[0] https://webby.land/2018/01/18/kernel-patch-and-compile-the-fedora-way/