Also installing apport hook on debian.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5cf42564ab
commit
8ae37d6f01
3 changed files with 1 additions and 5 deletions
1
debian/mdadm.install
vendored
1
debian/mdadm.install
vendored
|
@ -3,6 +3,7 @@ lib/
|
||||||
|
|
||||||
misc/mdcheck usr/share/mdadm/
|
misc/mdcheck usr/share/mdadm/
|
||||||
|
|
||||||
|
debian/local/apport/* usr/share/apport/package-hooks
|
||||||
debian/local/bin/* usr/share/mdadm
|
debian/local/bin/* usr/share/mdadm
|
||||||
debian/local/initramfs-tools/* usr/share/initramfs-tools/scripts
|
debian/local/initramfs-tools/* usr/share/initramfs-tools/scripts
|
||||||
debian/local/reportbug/* usr/share/bug/mdadm
|
debian/local/reportbug/* usr/share/bug/mdadm
|
||||||
|
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -32,11 +32,6 @@ override_dh_install:
|
||||||
mkdir -p $(CURDIR)/debian/mdadm/etc/mdadm
|
mkdir -p $(CURDIR)/debian/mdadm/etc/mdadm
|
||||||
chmod +x $(CURDIR)/debian/mdadm/usr/share/mdadm/mdcheck
|
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:
|
override_dh_installsystemd:
|
||||||
dh_installsystemd --name mdadm-shutdown
|
dh_installsystemd --name mdadm-shutdown
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue