aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonoban <donoban@riseup.net>2022-02-14 17:49:15 +0100
committeralice <alice@ayaya.dev>2022-02-22 01:41:51 +0000
commit56a5069e53fa5d3f5986b232347f4537045d18ec (patch)
tree895d85ab53ccf3fa7113c60b807e7ea402ddb9e1
parent766969139fb26e2d62d574b82861417d2f4fdf82 (diff)
downloadaports-56a5069e53fa5d3f5986b232347f4537045d18ec.tar.gz
aports-56a5069e53fa5d3f5986b232347f4537045d18ec.tar.bz2
aports-56a5069e53fa5d3f5986b232347f4537045d18ec.tar.xz
community/autologin: add 'optional pam_rundir'
Alternative to elogind for handle XDG_RUNTIME_DIR
-rw-r--r--community/autologin/APKBUILD4
-rw-r--r--community/autologin/autologin.pamd3
2 files changed, 4 insertions, 3 deletions
diff --git a/community/autologin/APKBUILD b/community/autologin/APKBUILD
index d87b6a60a0..f07c8b2e64 100644
--- a/community/autologin/APKBUILD
+++ b/community/autologin/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=autologin
pkgver=1.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="Daemon for automatic login on TTY"
url="https://git.sr.ht/~kennylevinsen/autologin"
arch="all"
@@ -25,5 +25,5 @@ package() {
sha512sums="
b2714c1f9385228d8f4a8e68a4abdfcbab0877a4334be609bb70e0aabb280d6d9885ab8d0881eb24085693a0048e51c5b9a98e5118835a74edb3ebbf745561b4 autologin-1.0.0.tar.gz
-6dd462c342d5ca1fdfba909108cf44e6479c389718a45c2dd742f2dfa474f9cbe55913220056c7dd1171ea52a22b5a4d1385f0e1e023f674a4673133399faee1 autologin.pamd
+915d49465c4fa41fdefc977c4d68fe3027d4e66bb7f8a9f669426d0fb1d1a91c739731ab8c23292b7f20de194d5d63e92244ffaa61b90368451d09a7189dea29 autologin.pamd
"
diff --git a/community/autologin/autologin.pamd b/community/autologin/autologin.pamd
index 6564cbd393..269ae8924f 100644
--- a/community/autologin/autologin.pamd
+++ b/community/autologin/autologin.pamd
@@ -18,4 +18,5 @@ password required pam_deny.so
# Setup session
session required pam_limits.so
session required pam_unix.so
-session optional pam_elogind.so
+-session optional pam_rundir.so
+-session optional pam_elogind.so