summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-30 16:51:23 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-30 16:51:23 +0200
commitdf5450149923efb0366001947c1456ed442bc4bb (patch)
tree78fbc8dcfbe36b7f3499c4dc5c3017435d6fb2a1 /debian
parent8e8a571e8519c80b6a2fef4a50b104f2797fec31 (diff)
Switch from deprecated dh_systemd_enable to dh_installsystemd
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
l---------debian/ipmiutil_wdt.service1
-rwxr-xr-xdebian/rules16
3 files changed, 8 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog
index fc30ec4..49161ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,8 +12,9 @@ ipmiutil (3.0.8-1) unstable; urgency=medium
* debian/rules (Closes: #877211):
- Add --no-parallel to fix frequent parallel FTBFS.
Thanks to Adrian Bunk <bunk@debian.org>.
+ - Switch from deprecated dh_systemd_enable to dh_installsystemd.
- -- Jörg Frings-Fürst <debian@jff.email> Mon, 15 Jan 2018 06:08:57 +0100
+ -- Jörg Frings-Fürst <debian@jff.email> Tue, 06 Mar 2018 07:43:32 +0100
ipmiutil (3.0.7-1) unstable; urgency=medium
diff --git a/debian/ipmiutil_wdt.service b/debian/ipmiutil_wdt.service
new file mode 120000
index 0000000..644b77d
--- /dev/null
+++ b/debian/ipmiutil_wdt.service
@@ -0,0 +1 @@
+../scripts/ipmiutil_wdt.service \ No newline at end of file
diff --git a/debian/rules b/debian/rules
index b710591..273f1a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,14 +26,8 @@ override_dh_installman:
dh_installman doc/iseltime.8
dh_installman
-override_dh_systemd_enable:
- dh_systemd_enable --no-enable --name=ipmi_port
- dh_systemd_enable --name=ipmi_info
- dh_systemd_enable --no-enable --name=ipmiutil_asy
- dh_systemd_enable --no-enable --name=ipmiutil_evt
- dh_systemd_enable --name=ipmiutil_wdt
-
-override_dh_systemd_start:
- dh_systemd_start --no-start --restart-after-upgrade --name=ipmi_port
- dh_systemd_start --no-start --restart-after-upgrade --name=ipmiutil_asy
- dh_systemd_start --no-start --restart-after-upgrade --name=ipmiutil_evt
+override_dh_installsystemd:
+ dh_installsystemd debian/ipmiutil.ipmiutil_wdt.service
+ dh_installsystemd --no-enable --no-start debian/ipmiutil.ipmi_port.service
+ dh_installsystemd --no-enable --no-start debian/ipmiutil.ipmiutil_asy.service
+ dh_installsystemd --no-enable --no-start debian/ipmiutil.ipmiutil_evt.service