From df5450149923efb0366001947c1456ed442bc4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 30 Mar 2018 16:51:23 +0200 Subject: Switch from deprecated dh_systemd_enable to dh_installsystemd --- debian/changelog | 3 ++- debian/ipmiutil_wdt.service | 1 + debian/rules | 16 +++++----------- 3 files changed, 8 insertions(+), 12 deletions(-) create mode 120000 debian/ipmiutil_wdt.service 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 . + - Switch from deprecated dh_systemd_enable to dh_installsystemd. - -- Jörg Frings-Fürst Mon, 15 Jan 2018 06:08:57 +0100 + -- Jörg Frings-Fürst 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 -- cgit v1.2.3