Re: qedr and vmw_pvrdma are not packaged in rdma-core

Jason Gunthorpe
2017-02-02T16:38:31Z

On Thu, Feb 02, 2017 at 08:26:28AM +0200, Leon Romanovsky wrote:
> Hi Ram and Adit,
>
> I want to bring to your attention that qedr and vmw_pvrdma drivers are
> missing from various package files available in rdma-core.

It is handled automatically, can't be missing:

$ buildlib/cbuild pkg jessie
$ dpkg-deb -c ../ibverbs-providers_13-1_amd64.deb
-rw-r--r-- root/root 35024 2017-02-02 09:31 ./usr/lib/x86_64-linux-gnu/libibverbs/libqedr-rdmav2.so
-rw-r--r-- root/root 18600 2017-02-02 09:31 ./usr/lib/x86_64-linux-gnu/libibverbs/libvmw_pvrdma-rdmav2.so

$ buildlib/cbuild pkg fc25
$ rpm -q -l -p ../libibverbs-13-1.fc25.x86_64.rpm
/usr/lib64/libibverbs/libqedr-rdmav2.so
/usr/lib64/libibverbs/libvmw_pvrdma-rdmav2.so

> RedHat has different scheme with explicit declaration, from redhat/rdma-core.spec
> 98 Provides: librxe = %{version}-%{release}
> 99 Obsoletes: librxe < %{version}-%{release}

This is only for things that were previously packaged in redhat, qedr
and vmw_pvrdma have not been, so they should not include those
stanzas. It is similar to the obsoletes/replaces in debian/control.

> But it is not installation only. for example debian/copyright
> doesn't have information about providers/vmw_pvrdma.

Yes, this needs to be fixed..

This is why I was hoping for an automatic script to maintain this file :)

Jason