summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--debian/control2
-rw-r--r--debian/maintscript4
-rwxr-xr-xdebian/postrm2
-rwxr-xr-xdebian/rules5
5 files changed, 18 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 0560d55..607164f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ ipmiutil (3.0.0-3) unstable; urgency=medium
and add option --no-enable to all services which need a ipmi driver.
- New debian/patches/0710-systemd.patch to remove not supported
characters.
+ - Add override_dh_system_start with --no-start --restart-after-upgrade for
+ all daemons which need aipmi driver.
(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
@@ -14,8 +16,11 @@ ipmiutil (3.0.0-3) unstable; urgency=medium
correctly.
* debian/rules: remove overright_dh_installinit to prevent
side effects with systemd.
+ * Remove unwanted conf files from /etc/init.d:
+ - New debian/maintscript.
+ - debian/control: Add Pre-Depends dpkg for maintscript.
- -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 21 Dec 2016 10:10:24 +0100
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 21 Dec 2016 18:00:03 +0100
ipmiutil (3.0.0-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 597195f..0a54865 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,8 @@ Depends:
${misc:Depends},
lsb-base (>= 3.0-6),
rpcbind
+Pre-Depends:
+ dpkg
Description: IPMI management utilities
ipmiutil performs a series of common IPMI server management
functions to allow administrators to perform management functions
diff --git a/debian/maintscript b/debian/maintscript
new file mode 100644
index 0000000..0d95117
--- /dev/null
+++ b/debian/maintscript
@@ -0,0 +1,4 @@
+rm_conffile /etc/init.d/ipmi_port 3.0.0-3~
+rm_conffile /etc/init.d/ipmiutil_asy 3.0.0-3~
+rm_conffile /etc/init.d/ipmiutil_evt 3.0.0-3~
+rm_conffile /etc/init.d/ipmiutil_wdt 3.0.0-3~
diff --git a/debian/postrm b/debian/postrm
index dc8f214..69a8150 100755
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,5 +1,5 @@
#!/bin/sh
-# Debian prerm script
+# Debian postrm script
#
set -e
diff --git a/debian/rules b/debian/rules
index a96f35a..3b00002 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,3 +32,8 @@ override_dh_systemd_enable:
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