diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-21 14:18:27 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-21 14:18:27 +0100 |
commit | 7cd037d650a2fc3ea2cde96a2bdde3cf8619fc15 (patch) | |
tree | c88ee0211e2eccca00bd62d8103ecc3039d51361 | |
parent | 4ca47935230d953afcce00412d6b3f5811880bf5 (diff) |
some work at testing
-rw-r--r-- | debian/changelog | 14 | ||||
-rwxr-xr-x | debian/postrm (renamed from debian/prerm) | 2 | ||||
-rwxr-xr-x | debian/rules | 13 |
3 files changed, 13 insertions, 16 deletions
diff --git a/debian/changelog b/debian/changelog index 010f38b..0560d55 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,17 +1,21 @@ -ipmiutil (3.0.0-3) UNRELEASED; urgency=medium +ipmiutil (3.0.0-3) unstable; urgency=medium * Correct some systemd issues (Closes: #848861): - - debian/rules: Add dh_systemd_enable_overright to disable - ipmi_port at installation. - - New debian/patches/0710-systemd.patch to remove supported + - debian/rules: Add overright_dh_systemd_enable to install *.service files + and add option --no-enable to all services which need a ipmi driver. + - New debian/patches/0710-systemd.patch to remove not supported characters. (Thanks to Andreas Henriksson <andreas@fatal.se>) * Drop both dh-autoreconf/dh-systemd from both build-depends and dh --with arguments because this is all defaults when using dh compat 10. (Thanks to Andreas Henriksson <andreas@fatal.se>) + * Move purge action from prerm to postrm to clean /var/lib/ipmiutil + correctly. + * debian/rules: remove overright_dh_installinit to prevent + side effects with systemd. - -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 20 Dec 2016 11:55:42 +0100 + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 21 Dec 2016 10:10:24 +0100 ipmiutil (3.0.0-2) unstable; urgency=medium diff --git a/debian/prerm b/debian/postrm index e66d2d9..dc8f214 100755 --- a/debian/prerm +++ b/debian/postrm @@ -7,7 +7,7 @@ case "$1" in purge) if [ -d /var/lib/ipmiutil/ ] then - rm -Rf /var/lib/ipmiutil/ + rm -Rf /var/lib/ipmiutil/* fi ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) diff --git a/debian/rules b/debian/rules index 2fa6c72..a96f35a 100755 --- a/debian/rules +++ b/debian/rules @@ -26,16 +26,9 @@ override_dh_installman: dh_installman doc/iseltime.8 dh_installman -override_dh_installinit: - dh_installinit --name=ipmi_port - dh_installinit --name=ipmi_info - dh_installinit --name=ipmiutil_asy - dh_installinit --name=ipmiutil_evt - dh_installinit --name=ipmiutil_wdt - override_dh_systemd_enable: - dh_systemd_enable --no-enable ipmi_port.service + dh_systemd_enable --no-enable --name=ipmi_port dh_systemd_enable --name=ipmi_info - dh_systemd_enable --name=ipmiutil_asy - dh_systemd_enable --name=ipmiutil_evt + dh_systemd_enable --no-enable --name=ipmiutil_asy + dh_systemd_enable --no-enable --name=ipmiutil_evt dh_systemd_enable --name=ipmiutil_wdt |