diff mbox

[rdma-core,12/21] debian: Move truescale setup into rdma-core

Message ID 1500926429-31822-13-git-send-email-jgunthorpe@obsidianresearch.com (mailing list archive)
State Accepted
Headers show

Commit Message

Jason Gunthorpe July 24, 2017, 8 p.m. UTC
This matches what RedHat is doing and makes sense, the rdma-core package
contains the kernel support elements.

Also add a Debian dependency for dmidecode as the truescale.cmd script
uses it.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
---
 debian/control                   | 2 +-
 debian/ibverbs-providers.install | 2 --
 debian/rdma-core.install         | 2 ++
 3 files changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/debian/control b/debian/control
index 8434bbb23693f8..9d80e38bb07864 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@  Homepage: https://github.com/linux-rdma/rdma-core
 
 Package: rdma-core
 Architecture: linux-any
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: dmidecode, ${misc:Depends}, ${shlibs:Depends}
 Breaks: infiniband-diags (<< 2.0.0)
 Replaces: infiniband-diags (<< 2.0.0)
 Description: RDMA core userspace infrastructure and documentation
diff --git a/debian/ibverbs-providers.install b/debian/ibverbs-providers.install
index e477cd7873b8bd..93144527be04ef 100644
--- a/debian/ibverbs-providers.install
+++ b/debian/ibverbs-providers.install
@@ -1,10 +1,8 @@ 
 etc/libibverbs.d/
-etc/modprobe.d/truescale.conf
 usr/bin/rxe_cfg
 usr/lib/*/libibverbs/lib*-rdmav2.so
 usr/lib/*/libmlx4.so.*
 usr/lib/*/libmlx5.so.*
-usr/lib/truescale-serdes.cmds
 usr/share/doc/rdma-core/rxe.md usr/share/doc/ibverbs-providers/
 usr/share/man/man7/rxe.7
 usr/share/man/man8/rxe_cfg.8
diff --git a/debian/rdma-core.install b/debian/rdma-core.install
index 371aaadc7483d3..871f5ff543f2bf 100644
--- a/debian/rdma-core.install
+++ b/debian/rdma-core.install
@@ -1,5 +1,7 @@ 
+etc/modprobe.d/truescale.conf
 lib/systemd/system/rdma-ndd.service
 lib/udev/rules.d/rdma-ndd.rules
+usr/lib/truescale-serdes.cmds
 usr/sbin/rdma-ndd
 usr/share/doc/rdma-core/MAINTAINERS
 usr/share/doc/rdma-core/README.md