rdma-core/libibverbs: add initial versions for debian

Both debs for rdma-core and libibverbs are built by this
debian folder added. Their versions are aligned with mlnx-ofa_kernel
driver and all are from:
https://linux.mellanox.com/public/repo/mlnx_ofed/5.3-1.0.0.1/SRPMS
The source code package name for rdma-core and libibverbs is
rdma-core-52mlnx1.tgz.

Verification:
As we are only getting the Debian work bootstrapped there is quite a few
restrictions as far as what can be tested.
- build image ok with the module;
- qemu boot up ok with the module.

Test on hardware will be done when the integration of the debian
platform is done.

Story: 2009221
Task: 43337
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Change-Id: I6593512985be9ff8e5c350a15cfd4017779d4093
This commit is contained in:
Li Zhou 2021-09-16 04:17:02 -04:00 committed by Jim Somerville
parent 5a1645a80b
commit 966d2f51b1
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From c0985ef490736b661df11395c1fc5c00cde88ad5 Mon Sep 17 00:00:00 2001
From: Li Zhou <li.zhou@windriver.com>
Date: Thu, 16 Sep 2021 07:42:24 +0000
Subject: [PATCH] rdma-core: add python3-dev to depends list for building error
Add python3-dev to Build-Depends to solve below building error:
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
---
debian/control | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/control b/debian/control
index 40c5bcd..2011c5a 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Section: net
Priority: optional
Build-Depends: cmake (>= 2.8.11),
cython3 (>= 0.25) | python,
+ python3-dev,
debhelper (>= 9),
debhelper (>= 9.20160709) | dh-systemd,
dh-python,
--
2.17.1

View File

@ -0,0 +1 @@
0001-rdma-core-add-python3-dev-to-depends-list-for-buildi.patch

View File

@ -0,0 +1,11 @@
---
debver: 52mlnx1
debname: rdma-core
dl_path:
name: rdma-core-52mlnx1.tgz
url: "https://linux.mellanox.com/public/repo/mlnx_ofed/\
5.3-1.0.0.1/SRPMS/rdma-core-52mlnx1.tgz"
md5sum: 072058f44d6cbfc0ce2d9eae369b6fe6
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true