From 60088c4205a6560925611d94b5897e77ee9ce787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 5 Aug 2018 10:53:08 +0200 Subject: Switch from enable ipmievd daemon via /etc/default/ipmievd to use update-rc.d --- debian/changelog | 4 +++- debian/ipmitool.ipmievd.default | 4 +++- debian/rules | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index a9781a1..0ea53d8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,7 +14,9 @@ ipmitool (1.8.18-6) UNRELEASED; urgency=medium - Replace outdated dh_systemd_enable with dh_installsystemd. * debian/watch: - Switch to github. - * Declare compliance with Debian Policy 4.1.5 (No changes needed). + * Declare compliance with Debian Policy 4.1.5: + - Switch from enable ipmievd daemon via /etc/default/ipmievd to use + update-rc.d. * Migrate to debhelper 11: - Change debian/compat to 11. - Bump minimum debhelper version in debian/control to >= 11. diff --git a/debian/ipmitool.ipmievd.default b/debian/ipmitool.ipmievd.default index 0368b6c..12439e0 100644 --- a/debian/ipmitool.ipmievd.default +++ b/debian/ipmitool.ipmievd.default @@ -3,7 +3,9 @@ # # To enable ipmievd set ENABLED="true" for sysvinit (ignored by systemd) # -ENABLED="false" +# This is disabled because Debian Policy Manual section 9.3.3.1 +# +#E N A B L E D="false" # Options to the daemon ipmievd(8). diff --git a/debian/rules b/debian/rules index f0e7b5a..08da15e 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,7 @@ override_dh_auto_install: $(RM) $(CURDIR)/debian/ipmitool/usr/share/doc/ipmitool/ChangeLog override_dh_installinit: - dh_installinit --name ipmievd --error-handler=ipmievd_initd_failed + dh_installinit --no-enable --name ipmievd --error-handler=ipmievd_initd_failed override_dh_installsystemd: dh_installsystemd --no-enable --name ipmievd -- cgit v1.2.3