[ofa-general] Suggested patches to OFED RPM spec files
Mike Heinz
michael.heinz at qlogic.com
Wed Apr 23 09:08:28 PDT 2008
Installation of OFED 1.3.0.0.4 onto a Kusu/OCS cluster does not fully
succeed because of some missing dependencies in the RPM spec files. This
is because Kusu installs nodes over a network by presenting a pool of
RPMs to be installed and letting RPM figure out the order to install
them in. Without the dependencies we ended up with oddities like the
kernel drivers being installed before the /usr/bin directory had been
populated, causing the install script to fail.
I was able to work around this by manually expanding some of the source
RPM files, altering the spec file and repackaging the source RPM. This
allowed me to build binary RPMs (via the install script) that could be
installed on a Kusu cluster.
Here are the proposed changes. If there is a better/preferred way of
submitting this suggestion, please let me know.
--- ../../original/ib-bonding.spec 2008-04-22 12:54:12.000000000
-0400
+++ ib-bonding.spec 2008-04-22 12:43:07.000000000 -0400
@@ -20,6 +20,7 @@
Group : Applications/System
License : GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
+PreReq : coreutils
%description
This package provides a bonding device which is capable of enslaving
--- ../../original/ofa_kernel.spec 2008-04-22 12:54:13.000000000
-0400
+++ ofa_kernel.spec 2008-04-22 12:45:40.000000000 -0400
@@ -111,6 +111,9 @@
BuildRequires: sysfsutils-devel
%package -n kernel-ib
+PreReq: coreutils
+PreReq: kernel
+PreReq: pciutils
Version: %{_version}
Release: %{krelver}
Summary: Infiniband Driver and ULPs kernel modules
@@ -119,6 +122,10 @@
Core, HW and ULPs kernel modules
%package -n kernel-ib-devel
+PreReq: coreutils
+PreReq: kernel
+PreReq: pciutils
+Requires: kernel-ib
Version: %{_version}
Release: %{krelver}
Summary: Infiniband Driver and ULPs kernel modules sources
--- ../../original/open-iscsi-generic.spec 2008-04-22
12:54:13.000000000 -0400
+++ open-iscsi-generic.spec 2008-04-22 12:42:33.000000000 -0400
@@ -21,6 +21,7 @@
%define kversion $(uname -r | sed "s/-ppc64\|-smp//")
%package -n iscsi-initiator-utils
+PreReq: coreutils
Summary : iSCSI daemon and utility programs
Group : System Environment/Daemons
%description -n iscsi-initiator-utils
@@ -30,6 +31,7 @@
Protocol networks.
%package -n open-iscsi
+PreReq: coreutils
Summary : Linux* Open-iSCSI Software Initiator
Group : Productivity/Networking/Other
%description -n open-iscsi
--
Michael Heinz
Principal Engineer, Qlogic Corporation
King of Prussia, Pennsylvania
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080423/8ef69912/attachment.html>
More information about the general
mailing list