From: Vladimir Sokolovsky Date: Thu, 29 Oct 2009 09:50:41 +0000 (+0200) Subject: install: install the existing kernel-ib RPM instead of rebuilding it every X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5bb8c61655ba1706493cb1fc86c7e244f4c08c80;p=~aditr%2Fofed_scripts.git install: install the existing kernel-ib RPM instead of rebuilding it every time. While nfsrdma module selected, the test whether nfsrdma is included in the existing kernel-ib RPM fails as there is no such kernel module as nfsrdma.ko Instead, there are other kernel modules created. So, "nfsrdma" is replaced by one of its modules in this test. Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index 27021e5..4f6208e 100755 --- a/install.pl +++ b/install.pl @@ -2449,6 +2449,10 @@ sub module_in_rpm return 1; } + if ($module eq "nfsrdma") { + $module = "xprtrdma"; + } + open(LIST, "rpm -qlp $package |") or die "Can't run 'rpm -qlp $package': $!\n"; while () { if (/$module[a-z_]*.ko/) {