summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMark Hindley <mark@hindley.org.uk>2018-11-09 10:12:23 +0000
committerMark Hindley <mark@hindley.org.uk>2018-11-09 10:12:23 +0000
commitb456d06b2c4349d3cfc4af9293852ca4b6a20da3 (patch)
treeff8d9f26f9994aa8dd29a2e55f1f1aa26a9038a5 /debian
parentae65e91a5439f395e0da0cd8ffda95d6289849e1 (diff)
Use /sbin/shutdown as /sbin/poweroff is not present on runit systems.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules2
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index cbd0dfb14..b60b06be4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+elogind (239.1-1+runit_shutdown~rc1) unstable; urgency=medium
+
+ * Use shutdown rather than poweroff as the latter is missing on runit systems.
+
+ -- Mark Hindley <mark@hindley.org.uk> Fri, 09 Nov 2018 10:06:29 +0000
+
elogind (239.1-1~rc1) unstable; urgency=medium
* New upstream release v239.1.
diff --git a/debian/rules b/debian/rules
index b1023c94f..a45cf0fc5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@
# pam libs must go to /lib/*/security, same for udev rules
# - disable killing users processes by default. This is weird an unexpected
# behavior
+# - /sbin/poweroff is missing on runit systems, so use /sbin/shutdown instead
# - SELinux build is broken on 239 (fix available for 240)
# - tests disabled beacuase some of the tests seem to require elogind running.
# Need to sort out which tests could be run
@@ -16,6 +17,7 @@ CONFFLAGS = \
-Ddocdir=/usr/share/doc/elogind \
-Dudevrulesdir=/lib/udev/rules.d \
-Ddefault-kill-user-processes=false \
+ -Dpoweroff-path=/sbin/shutdown \
-Dselinux=false \
-Dtests=false