]> git.openfabrics.org - ~emulex/ofed_scripts/.git/commitdiff
Add kernel 3.1 support
authorVladimir Sokolovsky <vlad@mellanox.com>
Thu, 8 Dec 2011 13:07:21 +0000 (15:07 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Thu, 8 Dec 2011 13:07:21 +0000 (15:07 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index 7ff43365b962978c7b23b03ee9d26cd4ff4c30e2..99e63aa2536c129e5d810c1f9935fc876ee99fe7 100755 (executable)
@@ -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";