[Pkg-ceph-commits] [ceph] 05/05: Ensure any erasure coding test libraries and dangling symlinks are not included in the ceph package.

James Downing Page jamespage at moszumanska.debian.org
Wed Nov 4 11:22:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

jamespage pushed a commit to branch experimental
in repository ceph.

commit 9255e5d515d55423d305542503d6ec852220fc3d
Author: James Page <james.page at ubuntu.com>
Date:   Wed Nov 4 11:20:55 2015 +0000

    Ensure any erasure coding test libraries and dangling symlinks are not included in the ceph package.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 45d94f5..6310c47 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,6 +60,10 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
 	dh_auto_install --destdir=$(CURDIR)/debian/tmp
+	# NOTE: ensure that any versioned erasure coding test code is dropped
+	#       from the package install - package ships unversioned modules.
+	rm -f $(CURDIR)/debian/tmp/usr/lib/*/ceph/erasure-code/libec_*.so.*
+	find $(CURDIR)/debian/tmp/usr/lib/*/ceph/erasure-code -type l -delete || :
 
 override_dh_installinit:
 	dh_installinit --no-start

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list