summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 13:56:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 17:54:02 +0000
commit89e0f1702d2c4d78b76dc1a700fa47815b98cbc1 (patch)
treec2ed54e037595f1b42495d08b76944d555b17359
parentRemoving conditional mta suggests/recommends, the mta should not be pulled in... (diff)
downloadmdadm-89e0f1702d2c4d78b76dc1a700fa47815b98cbc1.tar.xz
mdadm-89e0f1702d2c4d78b76dc1a700fa47815b98cbc1.zip
Also installing apport hook on debian.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/local/apport/source_mdadm.py (renamed from debian/source_mdadm.py)0
-rw-r--r--debian/mdadm.install1
-rwxr-xr-xdebian/rules5
3 files changed, 1 insertions, 5 deletions
diff --git a/debian/source_mdadm.py b/debian/local/apport/source_mdadm.py
index 0aad41b..0aad41b 100644
--- a/debian/source_mdadm.py
+++ b/debian/local/apport/source_mdadm.py
diff --git a/debian/mdadm.install b/debian/mdadm.install
index c4eebf1..c84d61e 100644
--- a/debian/mdadm.install
+++ b/debian/mdadm.install
@@ -3,6 +3,7 @@ lib/
misc/mdcheck usr/share/mdadm/
+debian/local/apport/* usr/share/apport/package-hooks
debian/local/bin/* usr/share/mdadm
debian/local/initramfs-tools/* usr/share/initramfs-tools/scripts
debian/local/reportbug/* usr/share/bug/mdadm
diff --git a/debian/rules b/debian/rules
index 0a14e36..52a71b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,11 +32,6 @@ override_dh_install:
mkdir -p $(CURDIR)/debian/mdadm/etc/mdadm
chmod +x $(CURDIR)/debian/mdadm/usr/share/mdadm/mdcheck
-ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes), yes)
- install -Dm0644 debian/source_mdadm.py \
- $(CURDIR)/debian/mdadm/usr/share/apport/package-hooks/source_mdadm.py
-endif
-
override_dh_installsystemd:
dh_installsystemd --name mdadm-shutdown