[Pkg-ceph-commits] [ceph] 20/85: Fail if not all files in debian/tmp are installed
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Mon Dec 26 20:47:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
gaudenz pushed a commit to branch jewel
in repository ceph.
commit 25130ba76419786de97478e307cb23a76ea64faa
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date: Sun Nov 1 17:46:01 2015 +0100
Fail if not all files in debian/tmp are installed
Fail if some files are left after all packages are built. This usually
means that there is some new file which should go into one of the
packages. If the file really should not be installed it can be listed in
debian/not-installed.
Git-Dch: ignore
---
debian/not-installed | 22 ++++++++++++++++++++++
debian/rules | 4 ++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..b826ae1
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,22 @@
+# this is not needed by the newer udev rules
+# it's only relevant to udev/95-ceph-osd-alt.rules
+# which is not installed on Debian
+debian/tmp/usr/sbin/ceph-disk-udev
+# These plugins are also not installed by the ceph.com
+# Debian package and there is no documentation about
+# what they are used for
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_zlib.a
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_zlib.so.2.0.0
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_zlib.so
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_zlib.so.2
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_example.so.0.0.0
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_example.so.0
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so.2.0.0
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so.2
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_example.a
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_example.so
+debian/tmp/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.a
+# ceph-deploy is another source package, not much point
+# in installing this manpage
+debian/tmp/usr/share/man/man8/ceph-deploy.8
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 0e3f2e6..db33056 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,13 +65,13 @@ override_dh_auto_clean:
dh_auto_clean
rm -fv debian/*.upstart
-override_dh_auto_install:
- dh_auto_install --destdir=$(CURDIR)/debian/tmp
+override_dh_install:
# 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 || :
install -D -m 644 src/etc-rbdmap $(CURDIR)/debian/tmp/etc/ceph/rbdmap
+ dh_install --fail-missing
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