From: Vladimir Sokolovsky Date: Thu, 8 Dec 2011 13:07:21 +0000 (+0200) Subject: Add kernel 3.1 support X-Git-Tag: vofed-1.5.4.1~6 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f6e1fd5ca1050ea451efc6371d13361aa232c1c5;p=~emulex%2Fofed_scripts%2F.git Add kernel 3.1 support Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index 7ff4336..99e63aa 100755 --- a/install.pl +++ b/install.pl @@ -2675,7 +2675,7 @@ sub check_linux_dependencies if ($package =~ /kernel-ib|ib-bonding/) { if (not $packages_info{$package}{'rpm_exist'}) { # Check that required kernel is supported - if ($kernel !~ /2.6.16.60-[A-Za-z0-9.]*-[A-Za-z0-9.]*|2.6.1[8-9]|2.6.2[0-9]|2.6.3[0-9]|2.6.40|3.0/) { + if ($kernel !~ /2.6.16.60-[A-Za-z0-9.]*-[A-Za-z0-9.]*|2.6.1[8-9]|2.6.2[0-9]|2.6.3[0-9]|2.6.40|3.[0-1]/) { print RED "Kernel $kernel is not supported.", RESET "\n"; print BLUE "For the list of Supported Platforms and Operating Systems see", RESET "\n"; print BLUE "$CWD/docs/OFED_release_notes.txt", RESET "\n";