From 5bb8c61655ba1706493cb1fc86c7e244f4c08c80 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Thu, 29 Oct 2009 11:50:41 +0200 Subject: [PATCH] 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 --- install.pl | 4 ++++ 1 file changed, 4 insertions(+) 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/) { -- 2.41.0