[Pkg-ceph-commits] [ceph] 03/41: Fail if not all files in debian/tmp are installed

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Aug 15 21:27:03 UTC 2016


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

gaudenz pushed a commit to branch jewel-gaudenz
in repository ceph.

commit d645e1d97871b0890695ab1362780092e019cb5f
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 | 4 ++++
 debian/rules         | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..ee2b266
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,4 @@
+# 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
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