Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2021 18:29:28 +0000
From:      Glen Barber <gjb@freebsd.org>
To:        Ravi Pokala <rpokala@freebsd.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Including IB utils in install images
Message-ID:  <20210203182928.GG77557@FreeBSD.org>
In-Reply-To: <377FA5D1-0DC8-463D-A8E3-5645801C2858@freebsd.org>
References:  <377FA5D1-0DC8-463D-A8E3-5645801C2858@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--c1ZK2iIXW32Oz72x
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 03, 2021 at 10:06:20AM -0800, Ravi Pokala wrote:
> Hi folks,
>=20
> I'm using release/release.sh to create install images. We recently determ=
ined that we need to start including the InfiniBand utilities (contrib/ofed=
/infiniband-diags / usr.bin/ofed/infiniband-diags). I updated my release.co=
nf to add 'WITH_OFED_EXTRA=3D1' to MAKE_FLAGS, and I confirmed that the uti=
lities are being built. However, they are not subsequently copied to the di=
stdir, or included in the resulting image. Well, technically, `ibstat' is, =
but per usr.bin/ofed/infiniband-diags/Makefile, it is not contingent on WIT=
H_OFED_EXTRA / MK_OFED_EXTRA.
>=20
> Bug, or operator error?
>=20

You could set a local SRC_CONF (see release/release.conf.sample), but
I *think* you also need to set WITH_OFED=3D1.  According to src.conf(5),
it seems WITH_OFED_EXTRA is ignored unless WITH_OFED is explicitly set.

Glen


--c1ZK2iIXW32Oz72x
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmAa64IACgkQAxRYpUeP
4pMiMw//RMoIvDVvo4Hgbrgx/rK0obaljK8z2KhrBW4jicrnjK4wJDVKFKqyioN5
4rEMfJubsyah+iyWk81H6PgOxDgYMwdoJax4RTIVmAiwYERVo5nN4VoOd+HU00X5
vodwTQ8ADxODhedu1vMvZ9oTLhy0wFDxKHckDuZNtOR7S/XSt170Jg12uZemzFIO
GMPi+UzJxHOUUO0Xk4yLKZaxIRuqtcBP90LAyt068cn4toqLaX+Ufz3XI3S3IYQE
MZjqfSetoRW4x7YF86fw42+aJt0DwgUiraL/mKTq4/5VvwjCRE634gPaXwIyb/X8
JvETUM/0l3N9b52kh3Zci1uKQSin00RxY102BjnH+AFZkIa6y4cwBmvjmmBYUti9
nJVQVxVS2fqcnkED2FAP19Y32xuJsOQJ8hrITc6cxQ75R/ev1B1Uahu3HjArP3ly
XhKm9Z0zxKwiUt8/iHY7rG926cX3cQ/l9q6SoHZGmS8PReaN/o1bTrUchsZpND5S
vc2t7+tv1Qm2sq7yD+EJv0A+/HxE0yLoWOGK0h/FAG4Mfi9TEWYlkmPL1673sZ1c
l7HvXbP/ZRFseN+8xNJQVhfaHH6oZWsCt8PFqZIm4F0jZOyn0t8PjvcFM4djcgS3
pOegwdXEaa3eH8A8Q1PmpMoU0LeF6WyhfOVsE2fmlT+mFzghs88=
=aA5Y
-----END PGP SIGNATURE-----

--c1ZK2iIXW32Oz72x--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210203182928.GG77557>