[ewg] [PATCH] install: do not install open-iscsi with OFED

Moni Shoua monis at Voltaire.COM
Thu Jul 8 05:34:05 PDT 2010


Overriding the distro open-iscsi RPM is no longer required.

Signed-off-by: Moni Shoua <monis at voltaire.com>
---

 install.pl |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)
--- install.pl.orig	2010-07-08 12:44:27.000000000 +0300
+++ install.pl	2010-07-08 15:07:23.000000000 +0300
@@ -452,7 +452,7 @@
             included_in_rpm => 0, requires => ["core", "ipoib"], },
         'iser' =>
             { name => "iser", available => 0, selected => 0,
-            included_in_rpm => 0, requires => ["core", "ipoib"], ofa_req_inst => ["open-iscsi-generic"] },
+            included_in_rpm => 0, requires => ["core", "ipoib"], ofa_req_inst => [] },
         'qlgc_vnic' =>
             { name => "qlgc_vnic", available => 0, selected => 0,
             included_in_rpm => 0, requires => ["core"], },
@@ -1729,9 +1729,6 @@
     # if ($kernel =~ m/2.6.9-67|2.6.9-78|2.6.16.[0-9.]*-[0-9.]*-[A-Za-z0-9.]*|el5/) {
     if ($kernel =~ m/2.6.3[0-2]|2.6.18-164/) {
             $kernel_modules_info{'iser'}{'available'} = 1;
-            if ($kernel !~ /el6/) {
-                $packages_info{'open-iscsi-generic'}{'available'} = 1;
-            }
     }
 
     # tgt
@@ -2461,14 +2458,6 @@
             }
         }
 
-        # Check open-iscsi package if iser module selected for installation
-        my $tmp = "@selected_modules_by_user";
-        $tmp =~ s/ /|/g;
-        chomp $tmp;
-        if ("iser" =~ m/$tmp/) {
-            check_open_iscsi();
-            push (@selected_by_user, "open-iscsi-generic");
-        }
         flock CONFIG, $UNLOCK;
     }
     close(CONFIG);




More information about the ewg mailing list