]> git.openfabrics.org - ~aditr/ofed_scripts.git/commitdiff
install.pl: Added support for kernels up to 3.18
authorVladimir Sokolovsky <vlad@mellanox.com>
Mon, 27 Oct 2014 14:22:05 +0000 (16:22 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 27 Oct 2014 14:22:05 +0000 (16:22 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index abc54a39843cff3bc1de71c1625ed35306d8409e..696b326607b23e0597b379a495b371cf450dd296 100755 (executable)
@@ -2810,7 +2810,7 @@ sub check_linux_dependencies
         if ($package =~ /compat-rdma/) {
             if (not $packages_info{$package}{'rpm_exist'}) {
                 # Check that required kernel is supported
-                if ($kernel !~ /2.6.3[0-9]|2.6.40|3.[0-9]|3.1[0-2]/) {
+                if ($kernel !~ /2.6.3[0-9]|2.6.40|3.[0-9]|3.1[0-8]/) {
                     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";