summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 10:53:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 10:53:08 +0200
commit60088c4205a6560925611d94b5897e77ee9ce787 (patch)
tree50f7912d1a2e932967d0aad5e05bd6eeaed6e8b0
parent015c410bda6db857882d4c090eb3cd2dd034ccc4 (diff)
Switch from enable ipmievd daemon via /etc/default/ipmievd to use update-rc.d
-rw-r--r--debian/changelog4
-rw-r--r--debian/ipmitool.ipmievd.default4
-rwxr-xr-xdebian/rules2
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