From c743c4172f5c0ecd22e7c2b2037b2fbdd9455308 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Sun, 28 Aug 2016 16:50:24 +0300 Subject: [PATCH] install.pl: Add support for kernels up to 4.8 Signed-off-by: Vladimir Sokolovsky --- install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.pl b/install.pl index 6b35531..943624b 100755 --- a/install.pl +++ b/install.pl @@ -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"; -- 2.41.0