oamg/leapp-repository

Detect the correct kernel RPM name of the target installed kernel

pirat89 opened this issue · 0 comments

As discsussed here (#1020), the target installed kernel detection searches the kernel RPM. It should be ok for upgrade 7 -> 8, as the kernel rpm is going to be updated (because the kernel rpm [or kernel-rt rpm] is for sure installed on RHEL 7). However in case of upgrade 8 -> 9, it's possible that only kernel-core / kernel-core-rt package will be installed. In such a case the actor will not detect the correct rpm and unexpected issues can occur.

Let's make the actor more robust to search for kernel-code / kernel-core-rt / ... rpm names instead as these are required to be installed.