From 7229d57f4496fe2a89803d8709edf92ce630b080 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Thu, 2 Jul 2009 10:39:55 -0500 Subject: [PATCH] install.pl: Add SLES11 support and remove OpenSUSE support for NFSRDMA 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 --- install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.41.0