From: Juri Lelli <juri.lelli@xxxxxxxxxx> redhat: Fix RT kernel kvm subpackage requires kernel-rt-kvm package currently depends on kernel-rt meta-package, so it fails to install if kernel-rt is not installed as well. All the other kernel-rt-* packages however only depend on the kernel-uname-r so they do not require the kernel-rt meta-package. Layered products doesn't use kernel-rt meta-package to side load kernels, as it would bring in unwanted additional dependency. They install kernel-rt-* packages and this is then currently a problem for kernel-rt-kvm. kernel-rt-kvm doesn't actually require kernel-rt meta-package, but only the correct kernel-rt (core) version. So, fix its dependencies accordingly. Signed-off-by: Juri Lelli <juri.lelli@xxxxxxxxxx> diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -1504,7 +1504,7 @@ The meta-package for the %{1} kernel\ %package %{?1:%{1}-}kvm\ Summary: KVM modules for package kernel%{?1:-%{1}}\ Group: System Environment/Kernel\ -Requires: kernel%{?1:-%{1}} = %{version}-%{release}\ +Requires: kernel-uname-r = %{KVERREL}%{uname_suffix %{?1:%{1}}}\ Provides: installonlypkg(kernel-module)\ Provides: kernel%{?1:-%{1}}-kvm-%{_target_cpu} = %{version}-%{release}\ AutoReq: no\ -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3029 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue