summaryrefslogtreecommitdiff
path: root/repo/system/elogind.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-11 13:30:34 +0100
committerdavidovski <david@davidovski.xyz>2022-04-11 13:30:34 +0100
commitbce4ac0f65ffb8bedcdcbdb94eb796457b12f9e1 (patch)
tree5070b9f21b192e6aa0f2a92584a7cbbc6a00d68c /repo/system/elogind.xibuild
parent65f2daa1e41f38db5e29a73af9c02d6c390b1d24 (diff)
added files for pam and shadow
Diffstat (limited to 'repo/system/elogind.xibuild')
-rw-r--r--repo/system/elogind.xibuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/repo/system/elogind.xibuild b/repo/system/elogind.xibuild
index 9ecc089..6ed1231 100644
--- a/repo/system/elogind.xibuild
+++ b/repo/system/elogind.xibuild
@@ -6,10 +6,11 @@ DEPS="pam gperf eudev"
PKG_VER=246.10
SOURCE=https://github.com/elogind/elogind/archive/v$PKG_VER/elogind-$PKG_VER.tar.gz
ADDITIONAL="
-https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/elogind/patches/id-nobody.patch
-https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/elogind/patches/mips.patch
-https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/elogind/patches/ppc64-bad-tuple.patch
-https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/elogind/patches/ppcle.patch
+id-nobody.patch
+mips.patch
+ppc64-bad-tuple.patch
+ppcle.patch
+elogind.initd
"
DESC="The standalone logind daemon"
@@ -51,6 +52,8 @@ package () {
ln -sf libelogind.pc $PKG_DEST/usr/lib/pkgconfig/libsystemd.pc &&
ln -sf elogind $PKG_DEST/usr/include/systemd
+ install -Dm755 elogind.initd $PKG_DEST/etc/init.d/elogind
+
sed -e '/\[Login\]/a KillUserProcesses=no' \
-i $PKG_DEST/etc/elogind/logind.conf
@@ -84,3 +87,8 @@ EOF
}
+
+postinstall () {
+ rc-update add elogind
+ rc-service elogind start
+}