Skip to content

Commit

Permalink
Fix RPM dependency on Oracle Linux 8.6
Browse files Browse the repository at this point in the history
Commit 69815e9 adjusts the dependency to use kernel-uek-core,
but it is only available since UEK Release 7. Thus the RPM install
is broken in racle Linux 8.6 which uses UEK Release 6. This commit
adjusts to use kernel-uek-core since Oracle Linux 9. For Oracle Linux
8, kernel-modules-extra still exists which contains the cuse module.

RM #4253481

Signed-off-by: Liming Sun <limings@nvidia.com>
  • Loading branch information
lsun100 committed Jan 14, 2025
1 parent de6e8d0 commit ce0f45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rshim.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Source0: https://github.com/mellanox/rshim-user-space/archive/%{name}-%{version}
BuildRequires: gcc, autoconf, automake, pkgconfig, make
BuildRequires: pkgconfig(libpci), pkgconfig(libusb-1.0)

%if (0%{?oraclelinux} >= 8)
%if (0%{?oraclelinux} >= 9)
Requires: kernel-uek-core
%else
%if (0%{?rhel} >= 8 || 0%{?fedora} > 0) && "0%{?ctyunos}" == "0"
Expand Down

0 comments on commit ce0f45e

Please sign in to comment.