* [gentoo-commits] gentoo-x86 commit in sys-infiniband/openib-files: ChangeLog metadata.xml openib-files-1.5.3.1.ebuild
@ 2011-06-30 22:02 Alexey Shvetsov (alexxy)
0 siblings, 0 replies; only message in thread
From: Alexey Shvetsov (alexxy) @ 2011-06-30 22:02 UTC (permalink / raw
To: gentoo-commits
alexxy 11/06/30 22:02:03
Added: ChangeLog metadata.xml openib-files-1.5.3.1.ebuild
Log:
[sys-infiniband/openib-files] Initial import to tree
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-infiniband/openib-files/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/openib-files/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/openib-files/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for sys-infiniband/openib-files
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/openib-files/ChangeLog,v 1.1 2011/06/30 22:02:03 alexxy Exp $
*openib-files-1.5.3.1 (30 Jun 2011)
30 Jun 2011; Alexey Shvetsov <alexxy@gentoo.org> +files/90-ib.rules,
+openib-files-1.5.3.1.ebuild, +files/openib, +files/openib.conf,
+files/openib.env, +files/openib.modprobe, +metadata.xml:
Initial import to tree
1.1 sys-infiniband/openib-files/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/openib-files/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/openib-files/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cluster</herd>
<longdescription>
OpenIB system files and examples.
</longdescription>
<use>
<flag name="ehca">Automatically generated description for ehca</flag>
<flag name="ipath">Automatically generated description for ipath</flag>
<flag name="iser">Automatically generated description for iser</flag>
<flag name="srp">Automatically generated description for srp</flag>
<flag name="vnic">Automatically generated description for vnic</flag>
<flag name="mlx4">Automatically generated description for mlx4</flag>
<flag name="rds">Automatically generated description for rds</flag>
</use>
</pkgmetadata>
1.1 sys-infiniband/openib-files/openib-files-1.5.3.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/openib-files/openib-files-1.5.3.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/openib-files/openib-files-1.5.3.1.ebuild?rev=1.1&content-type=text/plain
Index: openib-files-1.5.3.1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/openib-files/openib-files-1.5.3.1.ebuild,v 1.1 2011/06/30 22:02:03 alexxy Exp $
EAPI="4"
OFED_VER="1.5.3.1"
OFED_SUFFIX="OFED.1.5.3.1."
inherit openib
DESCRIPTION="OpenIB system files"
SCRIPTDIR="${S}/ofed_scripts"
KEYWORDS="~amd64 ~x86"
IUSE="ehca ipath iser mlx4 rds srp vnic"
DEPEND=""
RDEPEND="${DEPEND}"
src_configure() {
einfo "Nothing to configure"
}
src_compile() {
einfo "Nothing to compile"
}
src_install() {
insinto /etc/udev/rules.d
newins "${SCRIPTDIR}/90-ib.rules" 40-ib.rules
insinto /etc/modprobe.d
newins "${FILESDIR}/openib.modprobe" openib.conf
newenvd "${FILESDIR}/openib.env" 02openib
insinto /etc/infiniband
doinitd "${FILESDIR}/openib"
# build openib.conf based on ofed_scripts/ofa_kernel.spec
build_ipoib=1
build_sdp=1
cp "${SCRIPTDIR}/openib.conf" "${T}"
IB_CONF_DIR=${T}
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load UCM module" >> ${IB_CONF_DIR}/openib.conf
echo "UCM_LOAD=no" >> ${IB_CONF_DIR}/openib.conf
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load RDMA_CM module" >> ${IB_CONF_DIR}/openib.conf
echo "RDMA_CM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load RDMA_UCM module" >> ${IB_CONF_DIR}/openib.conf
echo "RDMA_UCM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Increase ib_mad thread priority" >> ${IB_CONF_DIR}/openib.conf
echo "RENICE_IB_MAD=no" >> ${IB_CONF_DIR}/openib.conf
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load MTHCA" >> ${IB_CONF_DIR}/openib.conf
echo "MTHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
if use ipath; then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load IPATH" >> ${IB_CONF_DIR}/openib.conf
echo "IPATH_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
fi
if use ehca; then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load eHCA" >> ${IB_CONF_DIR}/openib.conf
echo "EHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
fi
if use mlx4; then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load MLX4 modules" >> ${IB_CONF_DIR}/openib.conf
echo "MLX4_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
fi
if (( build_ipoib )); then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load IPoIB" >> ${IB_CONF_DIR}/openib.conf
echo "#IPOIB_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Enable IPoIB Connected Mode" >> ${IB_CONF_DIR}/openib.conf
echo "#SET_IPOIB_CM=yes" >> ${IB_CONF_DIR}/openib.conf
# from ofa_user.spec:
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Enable IPoIB High Availability daemon" >> ${IB_CONF_DIR}/openib.conf
echo "#IPOIBHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf
echo "# PRIMARY_IPOIB_DEV=ib0" >> ${IB_CONF_DIR}/openib.conf
echo "# SECONDARY_IPOIB_DEV=ib1" >> ${IB_CONF_DIR}/openib.conf
fi
if (( build_sdp )); then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load SDP module" >> ${IB_CONF_DIR}/openib.conf
echo "#SDP_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
fi
if use srp; then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load SRP module" >> ${IB_CONF_DIR}/openib.conf
echo "#SRP_LOAD=no" >> ${IB_CONF_DIR}/openib.conf
# from ofa_user.spec:
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Enable SRP High Availability daemon" >> ${IB_CONF_DIR}/openib.conf
echo "#SRPHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf
fi
if use iser; then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load ISER module" >> ${IB_CONF_DIR}/openib.conf
echo "#ISER_LOAD=no" >> ${IB_CONF_DIR}/openib.conf
fi
if use rds; then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load RDS module" >> ${IB_CONF_DIR}/openib.conf
echo "#RDS_LOAD=no" >> ${IB_CONF_DIR}/openib.conf
fi
if use vnic; then
echo >> ${IB_CONF_DIR}/openib.conf
echo "# Load VNIC module" >> ${IB_CONF_DIR}/openib.conf
echo "#VNIC_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
fi
doins "${T}/openib.conf"
}
pkg_postinst() {
einfo "Configuration file installed in /etc/infiniband/openib.conf"
einfo "To automatically initialize infiniband on boot, add openib to your"
einfo "start-up scripts, like so:"
einfo "\`rc-update add openib default\`"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-30 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-30 22:02 [gentoo-commits] gentoo-x86 commit in sys-infiniband/openib-files: ChangeLog metadata.xml openib-files-1.5.3.1.ebuild Alexey Shvetsov (alexxy)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox