Install RHEL8.6 KERNEL under RHEL9
Hi I am running a RHEL9 VM and I want to build kmods against RHEL8.6 kernel.
For this page, I get the kernel version for RHEL8.6 is 4.18.0-372.9.1
https://access.redhat.com/articles/3078
But I tried listing all the available kernel packages and couldn't find the 4.18 kernel. Can someone tell me how to get it done? Do I have to add other repos to yum?
[mli@localhost ~]$ sudo yum list kernel-devel*
Updating Subscription Management repositories.
Last metadata expiration check: 23:10:40 ago on Tue 05 Jul 2022 11:05:56 AM.
Installed Packages
kernel-devel.x86_64 5.14.0-70.13.1.el9_0 @rhel-9-for-x86_64-appstream-rpms
kernel-devel.x86_64 5.14.0-70.17.1.el9_0 @rhel-9-for-x86_64-appstream-rpms
Available Packages
kernel-devel-matched.x86_64 5.14.0-70.17.1.el9_0 rhel-9-for-x86_64-appstream-rpms