From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] elogind: provide a runit service.
Date: Wed, 12 Jun 2019 12:44:12 +0200 [thread overview]
Message-ID: <20190612104412.muoUuvFb4e0AYAB8wsrsMpP0stGVyjA4dF9nAFYsewQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12423@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 415 bytes --]
There is an updated pull request by xtraeme against master on the void-packages repository
https://github.com/xtraeme/void-packages elogind-runit-service
https://github.com/void-linux/void-packages/pull/12423
elogind: provide a runit service.
I prefer to handle it via runit.
Signed-off-by: Juan RP <xtraeme@gmail.com>
A patch file from https://github.com/void-linux/void-packages/pull/12423.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elogind-runit-service-12423.patch --]
[-- Type: application/text/x-diff, Size: 2345 bytes --]
From d4bcc1e25ebe8240fcda23c281b930f7f711fcff Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 12 Jun 2019 12:33:03 +0200
Subject: [PATCH 1/2] elogind: provide a runit service.
I prefer to handle it via runit.
Signed-off-by: Juan RP <xtraeme@gmail.com>
---
srcpkgs/elogind/files/elogind/run | 3 +++
srcpkgs/elogind/template | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/elogind/files/elogind/run
diff --git a/srcpkgs/elogind/files/elogind/run b/srcpkgs/elogind/files/elogind/run
new file mode 100644
index 00000000000..9abc6ee2b43
--- /dev/null
+++ b/srcpkgs/elogind/files/elogind/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+sv check dbus >/dev/null || true
+exec /usr/libexec/elogind/elogind.wrapper
diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template
index 678025f7e88..7d03f4e5fc0 100644
--- a/srcpkgs/elogind/template
+++ b/srcpkgs/elogind/template
@@ -1,7 +1,7 @@
# Template file for 'elogind'
pkgname=elogind
version=241.3
-revision=1
+revision=2
build_style=meson
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
@@ -47,6 +47,7 @@ post_install() {
vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind
vmkdir usr/lib/dracut/dracut.conf.d
echo "install_items+=\" /usr/libexec/elogind/elogind-uaccess-command \"" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/elogind.conf
+ vsv elogind
}
elogind-devel_package() {
From 4a96b8e2c8ef72d0adeac6574443d44143e8d901 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 12 Jun 2019 12:42:47 +0200
Subject: [PATCH 2/2] travis/build.sh: update bootstrap before building.
This should fix the recently failed build of elogind due
to xbps not updating revdeps of the build dependencies.
Signed-off-by: Juan RP <xtraeme@gmail.com>
---
common/travis/build.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/travis/build.sh b/common/travis/build.sh
index bd65283d10a..38ecd909f4a 100755
--- a/common/travis/build.sh
+++ b/common/travis/build.sh
@@ -23,6 +23,8 @@ XBPS_SRCPKGDIR=/hostrepo/srcpkgs XBPS_MASTERDIR=/ chroot_prepare $1 || {
exit 1
}
+/hostrepo/xbps-src -H "$HOME"/hostdir bootstrap-update
+
PKGS=$(/hostrepo/xbps-src sort-dependencies $(cat /tmp/templates))
NPROCS=1
next prev parent reply other threads:[~2019-06-12 10:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-12 10:34 [PR PATCH] " voidlinux-github
2019-06-12 10:39 ` voidlinux-github
2019-06-12 10:40 ` voidlinux-github
2019-06-12 10:44 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-12 10:44 ` voidlinux-github [this message]
2019-06-12 10:46 ` voidlinux-github
2019-06-15 12:14 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190612104412.muoUuvFb4e0AYAB8wsrsMpP0stGVyjA4dF9nAFYsewQ@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).