[PATCH rdma-core v2 1/4] debian: Let libibverbs1 17 break ibverbs-providers 16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ibverbs-providers uses the private symbols of libibverbs1. Thus
libibverbs1 will not work with an old version version of
ibverbs-providers if the private symbol version is bumped.

Bump the ibverbs-providers version that libibverbs1 and
ibverbs-providers use the same major version. Also add this required
step to the documentation.

Signed-off-by: Benjamin Drung <benjamin.drung@xxxxxxxxxxxxxxxx>
---
 Documentation/versioning.md | 18 ++++++++++++++++++
 debian/control              |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/Documentation/versioning.md b/Documentation/versioning.md
index 3f19df55..eb5517ac 100644
--- a/Documentation/versioning.md
+++ b/Documentation/versioning.md
@@ -155,6 +155,24 @@ being used with libibverbs.
 Due to this there is no reason to provide compat symbol versions for the
 private ABI.
 
+When the private symbol version is bumped, the packaging files should be updated:
+
+```diff
+diff --git a/debian/control b/debian/control
+index 642a715e..8def05c9 100644
+--- a/debian/control
++++ b/debian/control
+@@ -138,7 +138,7 @@ Section: libs
+ Pre-Depends: ${misc:Pre-Depends}
+ Depends: adduser, ${misc:Depends}, ${shlibs:Depends}
+ Recommends: ibverbs-providers
+-Breaks: ibverbs-providers (<< 16~)
++Breaks: ibverbs-providers (<< 17~)
+ Description: Library for direct userspace use of RDMA (InfiniBand/iWARP)
+  libibverbs is a library that allows userspace processes to use RDMA
+  "verbs" as described in the InfiniBand Architecture Specification and
+```
+
 ### Use of private symbols between component packages
 
 A distribution packaging system still must have the correct dependencies
diff --git a/debian/control b/debian/control
index c3b1aadc..642a715e 100644
--- a/debian/control
+++ b/debian/control
@@ -138,7 +138,7 @@ Section: libs
 Pre-Depends: ${misc:Pre-Depends}
 Depends: adduser, ${misc:Depends}, ${shlibs:Depends}
 Recommends: ibverbs-providers
-Breaks: ibverbs-providers (<< 16~)
+Breaks: ibverbs-providers (<< 17~)
 Description: Library for direct userspace use of RDMA (InfiniBand/iWARP)
  libibverbs is a library that allows userspace processes to use RDMA
  "verbs" as described in the InfiniBand Architecture Specification and
-- 
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux