Including IB utils in install images

Glen Barber gjb at freebsd.org
Wed Feb 3 18:29:30 UTC 2021


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

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

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20210203/2eb2f2c8/attachment.sig>


More information about the freebsd-hackers mailing list