]> git.openfabrics.org - ~emulex/ofed_scripts/.git/commitdiff
install.pl: Extend the range of supported kernels up to 3.5
authorVladimir Sokolovsky <vlad@mellanox.com>
Mon, 2 Jul 2012 08:17:53 +0000 (11:17 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 2 Jul 2012 08:17:53 +0000 (11:17 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index 812127232fe5c66993f0aea47b5bb7f6e7ba2d5f..00555bae3f6f471debf16e322e7fea34eb418a55 100755 (executable)
@@ -2666,7 +2666,7 @@ sub check_linux_dependencies
         if ($package =~ /compat-rdma|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-1]/) {
+                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-5]/) {
                     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";