There are some ofed RPMs coming from Linux distributions with different
names, including "ofed" in it. All these RPMs will be removed by OFED's install
script.
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
}
}
+ my @other_ofed_rpms = `rpm -qa 2> /dev/null | grep ofed`;
my $cmd = "rpm -e --allmatches";
- for my $package (@all_packages, @hidden_packages, @prev_ofed_packages) {
+ for my $package (@all_packages, @hidden_packages, @prev_ofed_packages, @other_ofed_rpms) {
next if ($package eq "mpi-selector");
if (is_installed($package)) {
$cmd .= " $package";