[ewg] [PATCH ofed-1.4.1] NFS-RDMA: rnfs-utils not installed on RHEL5.1

Jon Mason jon at opengridcomputing.com
Thu Apr 9 13:46:10 PDT 2009


Since the RHEL5.1 kernel is 2.6.18-53.el5, it will fail the install.pl
check for NFS-RDMA compatible kernel version.  As all RHEL5 versions
have been backported, the check is no longer necessary and can be
removed.

Signed-Off-By: Jon Mason <jon at opengridcomputing.com>
---

diff --git a/install.pl b/install.pl
index f5cb31d..51aaa63 100755
--- a/install.pl
+++ b/install.pl
@@ -1733,13 +1733,9 @@ sub set_availability
             $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1;
     }
     elsif ($kernel =~ m/el5/) {
-            my $minor = (split '-', $kernel)[1];
-            $minor =~ s/(\.el5).*//;
-            if ($minor > 53) {
-                $kernel_modules_info{'nfsrdma'}{'available'} = 1;
-                $packages_info{'rnfs-utils'}{'available'} = 1;
-                $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1;
-            }
+            $kernel_modules_info{'nfsrdma'}{'available'} = 1;
+            $packages_info{'rnfs-utils'}{'available'} = 1;
+            $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1;
     }
 
     # mvapich, mvapich2 and openmpi



More information about the ewg mailing list