Signed-off-by: "Olga Shern <olgas@voltaire.com>
if (! $check_linux_deps) {
return 0;
}
+
for my $package ( @selected_packages ) {
# Check rpmbuild requirements
if ($package =~ /kernel-ib|ib-bonding/) {
}
}
+ if ($distro eq "redhat" or $distro eq "fedora" or $distro eq 'redhat5') {
+ if (not is_installed("rpm-build")) {
+ print RED "rpm-build is required to build OFED", RESET "\n";
+ $err++;
+ }
+ }
+
if ($package =~ /debuginfo/ and ($distro eq 'redhat' or $distro eq 'fedora' or $distro eq 'redhat5')) {
if (not $packages_info{$package}{'rpm_exist'}) {
if (not is_installed("redhat-rpm-config")) {