]> git.openfabrics.org - ~aditr/ofed_scripts.git/commitdiff
install.pl: Add support for kernels up to 4.8
authorVladimir Sokolovsky <vlad@mellanox.com>
Sun, 28 Aug 2016 13:50:24 +0000 (16:50 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Sun, 28 Aug 2016 13:50:24 +0000 (16:50 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index 6b355311fcbdb29d613361ccbe052eac592779ff..943624b86b5ad05d913b8de49a0fdf99514ebb9b 100755 (executable)
@@ -2912,7 +2912,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-8]/) {
+                if ($kernel !~ /2\.6\.3[0-9]|2\.6\.40|3\.[0-9]|3\.1[0-9]|4\.[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";