]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/rules: silence dpkg-shlibdeps warnings
authorKefu Chai <kchai@redhat.com>
Fri, 3 Jun 2016 07:29:50 +0000 (15:29 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 3 Jun 2016 07:40:31 +0000 (15:40 +0800)
plugins do have unresolved symbols. so exclude them from
dpkg-shlibdeps's scan list. this silences warnings like:

```
dpkg-shlibdeps: warning:
debian/ceph-base/usr/lib/ceph/erasure-code/libec_shec_generic.so.1.0.0
contains an unresolvable reference to symbol
_ZN4ceph6buffer3ptrC1EPNS0_3rawE: it's probably a plugin
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
debian/rules

index b705dd697e91784811a91f396f9d65e1a71a9901..fcb8876633f9fbd1b9487a4ad4cd74545b946ce2 100755 (executable)
@@ -203,7 +203,7 @@ binary-arch: build install
        dh_makeshlibs -a
        dh_python2 -a
        dh_installdeb -a
-       dh_shlibdeps -a
+       dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor
        dh_gencontrol -a
        dh_md5sums -a
        dh_builddeb -a