Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
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";