[ewg] [PATCH 2/3 VNIC] Change install.pl to include the VNIC name change
Ramachandra K
ramachandra.kuchimanchi at qlogic.com
Thu Sep 6 09:24:27 PDT 2007
Rename vnic to qlgc_vnic in install script and add RHEL 5 support
From: Poornima Kamath <poornima.kamath at qlogic.com>
Signed-off-by: Ramachandra K <ramachandra.kuchimanchi at qlogic.
---
install.pl | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/install.pl b/install.pl
index 9a14486..d968bf8 100755
--- a/install.pl
+++ b/install.pl
@@ -215,7 +215,7 @@ else {
# List of all available packages sorted following dependencies
my @kernel_packages = ("kernel-ib", "kernel-ib-devel", "ib-bonding", "ib-bonding-debuginfo");
my @basic_kernel_modules = ("core", "mthca", "mlx4", "cxgb3", "ehca", "ipath", "ipoib");
-my @ulp_modules = ("sdp", "srp", "rds", "vnic", "iser");
+my @ulp_modules = ("sdp", "srp", "rds", "qlgc_vnic", "iser");
my @kernel_modules = (@basic_kernel_modules, @ulp_modules);
my $kernel_configure_options;
@@ -304,9 +304,9 @@ my %kernel_modules_info = (
'iser' =>
{ name => "iser", available => 1, selected => 0,
included_in_rpm => 0, requires => ["core", "ipoib"], ofa_req_inst => ["open-iscsi-generic"] },
- 'vnic' =>
- { name => "vnic", available => 1, selected => 0,
- included_in_rpm => 0, requires => ["core", "ipoib"], },
+ 'qlgc_vnic' =>
+ { name => "qlgc_vnic", available => 1, selected => 0,
+ included_in_rpm => 0, requires => ["core"], },
);
my %packages_info = (
@@ -1329,9 +1329,9 @@ sub set_availability
$packages_info{'open-iscsi-generic'}{'available'} = 1;
}
- # Vnic
- if ($kernel =~ m/2.6.9-34|2.6.9-42|2.6.9-55|2.6.16.[0-9.]*-[0-9.]*-[A-Za-z0-9.]*|2.6.19/) {
- $kernel_modules_info{'vnic'}{'available'} = 1;
+ # Qlgc_vnic
+ if ($kernel =~ m/2.6.9-34|2.6.9-42|2.6.9-55|2.6.16.[0-9.]*-[0-9.]*-[A-Za-z0-9.]*|2.6.19|2.6.18*/) {
+ $kernel_modules_info{'qlgc_vnic'}{'available'} = 1;
$packages_info{'ibvexdmtools'}{'available'} = 1;
$packages_info{'qlvnictools'}{'available'} = 1;
$packages_info{'qlvnictools-debuginfo'}{'available'} = 1;
More information about the ewg
mailing list