[ewg] [PATCH] install.pl: Uninstall Chelsio packages

Steve Wise swise at opengridcomputing.com
Tue Feb 21 12:30:51 PST 2017


Uninstall Chelsio Unified Wire rpms before installing OFED.

Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---
 install.pl | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/install.pl b/install.pl
index c5bdce7..e94ce95 100755
--- a/install.pl
+++ b/install.pl
@@ -609,6 +609,16 @@ my @mlnx_en_packages = (
                        "mlnx_en", "mlnx-en-devel", "mlnx_en-devel", "mlnx_en-doc", "mlnx-ofc", "mlnx-ofc-debuginfo"
                         );
 
+my @chelsio_uwire_packages = (
+			"bonding", "chcr", "chelsio-series4-firmware", "chelsio-utils", "chiscsi", "chiwarp",
+			"csiostor-initiator", "cxgb4", "cxgb4i", "cxgb4toe", "cxgb4vf", "libcxgb4", "libcxgb4-devel",
+			"libcxgb4_sock", "libcxgb4_sock_debug", "libcxgb4_udp", "libcxgb4_udp_debug", "sniffer",
+			"cxgb4nic", "cxgb4toe-ipv4", "cxgbit", "oiscsi-utils", "libiwpm", "libiwpm-debuginfo",
+			"chopenssl", "chopenssl-devel", "chopenssl-doc", "libcxgb4-debuginfo", "cxgb4toe-udpso",
+			"cxgb4ipv6", "chtrace", "chfilter", "csiostor-target", "cxgb4wdtoe", "libwdtoe", "libwdtoe_dbg",
+			"bypass", "chelsio-bypass-utils", "chfcoe", "rdma-block-device"
+			);
+
 # List of all available packages sorted following dependencies
 my @kernel_packages = ("compat-rdma", "compat-rdma-devel", "ib-bonding", "ib-bonding-debuginfo");
 my @basic_kernel_modules = ("core", "mthca", "mlx4", "mlx4_en", "mlx5", "cxgb3", "cxgb4", "nes", "ehca", "qib", "ocrdma", "ipoib");
@@ -2978,7 +2988,7 @@ sub force_uninstall
     my @other_ofed_rpms = `rpm -qa 2> /dev/null | grep -wE "rdma|ofed|openib|ofa_kernel"`;
     my $cmd = "rpm -e --allmatches --nodeps";
 
-    for my $package (@all_packages, @hidden_packages, @prev_ofed_packages, @other_ofed_rpms, @distro_ofed_packages) {
+    for my $package (@all_packages, @hidden_packages, @prev_ofed_packages, @other_ofed_rpms, @distro_ofed_packages, @chelsio_uwire_packages) {
         chomp $package;
         if (is_installed($package)) {
             push (@packages_to_uninstall, $package);
-- 
1.8.3.1




More information about the ewg mailing list