[ewg] [PATCH OFED 1.5] install.pl: Add SLES11 support and remove OpenSUSE support for NFSRDMA

Jon Mason jon at opengridcomputing.com
Thu Jul 2 08:39:55 PDT 2009


SLES11 support was removed when 2.6.27 kernel support was removed.  The
check in the patch requires that a hyphen be present in the 2.6.27
kernel string(which currently only SLES does).

Also, no OpenSUSE kernels are currently supported.  So they must be
excluded from the kernel checks.

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

diff --git a/install.pl b/install.pl
index 1d44543..7d8036b 100755
--- a/install.pl
+++ b/install.pl
@@ -1722,7 +1722,7 @@ sub set_availability
     }
 
     # NFSRDMA
-    if ($kernel =~ m/2.6.2[25]|2.6.30/) {
+    if ($subdistro ne "openSUSE" and $kernel =~ m/2.6.2[25]|2.6.27.*-*|2.6.30/) {
             $kernel_modules_info{'nfsrdma'}{'available'} = 1;
             $packages_info{'rnfs-utils'}{'available'} = 1;
             $packages_info{'rnfs-utils-debuginfo'}{'available'} = 1;



More information about the ewg mailing list