From b02f9697557d7036c629502b57dfc496b840e39a Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Thu, 18 Jun 2009 17:48:24 -0500 Subject: [PATCH] install.pl: modify kernels supported by NFSRDMA Currently, the only "vanilla" kernels that are supported are 2.6.22, 2.6.25, and 2.6.30. This patch modifies the install.pl to only work for those. With the removal of RHEL5.1 support, the kernel check for RHEL should not install for it. Signed-Off-By: Jon Mason --- install.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.pl b/install.pl index a86c8e4..3a78761 100755 --- a/install.pl +++ b/install.pl @@ -1722,7 +1722,7 @@ sub set_availability } # NFSRDMA - if ($kernel =~ m/2.6.22|2.6.2[6-9]|2.6.30/) { + if ($kernel =~ m/2.6.2[25]|2.6.30/) { $kernel_modules_info{'nfsrdma'}{'available'} = 1; $packages_info{'rnfs-utils'}{'available'} = 1; $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1; @@ -1735,7 +1735,7 @@ sub set_availability elsif ($kernel =~ m/el5/) { my $minor = (split '-', $kernel)[1]; $minor =~ s/(\.el5).*//; - if ($minor >= 53) { + if ($minor > 53) { $kernel_modules_info{'nfsrdma'}{'available'} = 1; $packages_info{'rnfs-utils'}{'available'} = 1; $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1; -- 2.46.0