summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
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