]> git.openfabrics.org - ~shefty/libmlx4.git/commitdiff
Move plugin .so to /usr/lib/libibverbs
authorRoland Dreier <roland@purestorage.com>
Wed, 6 Jul 2011 08:29:09 +0000 (01:29 -0700)
committerRoland Dreier <roland@purestorage.com>
Wed, 6 Jul 2011 08:29:09 +0000 (01:29 -0700)
This fixes multiple lintian warnings such as package-name-doesnt-match-sonames,
pkg-has-shlibs-control-file-but-no-actual-shared-libs etc.

Signed-off-by: Roland Dreier <roland@purestorage.com>
debian/changelog
debian/libmlx4-1.install
debian/patches/driver-plugin-directory.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

index b13c0fd97dda7a88d9ab96ec8686ddd238a9596f..039d9eacfc208163c04a8e3c57690dca853ca2d8 100644 (file)
@@ -4,8 +4,10 @@ libmlx4 (1.0.1-2) UNRELEASED; urgency=low
   * Switch to dpkg-source 3.0 (quilt) format.
   * Don't ship .la files.  (Closes: #621664)
   * Change build system from cdbs to debhelper 7.
+  * Use libibverbs 1.1.3 feature to move plugin to /usr/lib/libibverbs
+    to fix multiple problems with a not-exactly-shlib in /usr/lib.
 
- -- Roland Dreier <roland@digitalvampire.org>  Wed, 06 Jul 2011 01:20:43 -0700
+ -- Roland Dreier <roland@digitalvampire.org>  Wed, 06 Jul 2011 01:28:28 -0700
 
 libmlx4 (1.0.1-1) unstable; urgency=low
 
index a64e17db7794c12b07e543f911540535e9502376..8cab406b098d67003f112c5d57009d7448d991ef 100644 (file)
@@ -1,2 +1,2 @@
-usr/lib/libmlx4-rdmav2.so
+usr/lib/libmlx4-rdmav2.so              /usr/lib/libibverbs/
 etc/libibverbs.d/mlx4.driver
diff --git a/debian/patches/driver-plugin-directory.patch b/debian/patches/driver-plugin-directory.patch
new file mode 100644 (file)
index 0000000..fd73a73
--- /dev/null
@@ -0,0 +1,10 @@
+Description: Tell libibverbs to look in /usr/lib/libibverbs for plugin library
+Author: Roland Dreier <roland@digitalvampire.org>
+
+Index: libmlx4.git/mlx4.driver
+===================================================================
+--- libmlx4.git.orig/mlx4.driver       2011-07-06 01:27:34.521058451 -0700
++++ libmlx4.git/mlx4.driver    2011-07-06 01:27:47.051074172 -0700
+@@ -1 +1 @@
+-driver mlx4
++driver /usr/lib/libibverbs/libmlx4
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..213f49e
--- /dev/null
@@ -0,0 +1 @@
+driver-plugin-directory.patch