diff --git a/system/auth/elogind/actions.py b/system/auth/elogind/actions.py
index ec16836292..bcb199d6e5 100644
--- a/system/auth/elogind/actions.py
+++ b/system/auth/elogind/actions.py
@@ -19,6 +19,7 @@ def setup():
mesontools.configure("--prefix=/usr \
-Drootlibdir=/usr/lib \
+ -Dudevrulesdir=/lib/udev/rules.d \
-Dpolkit=true \
-Dsplit-bin=true \
-Dsplit-usr=false \
diff --git a/system/auth/elogind/pspec.xml b/system/auth/elogind/pspec.xml
index b889581b63..54adfc75d7 100644
--- a/system/auth/elogind/pspec.xml
+++ b/system/auth/elogind/pspec.xml
@@ -12,7 +12,7 @@
app:console
Elogind User, Seat and Session Manager
Elogind is the systemd project's "logind", extracted out to be a standalone daemon. It integrates with PAM to know the set of users that are logged in to a system and whether they are logged in graphically, on the console, or remotely.
- https://github.com/elogind/elogind/archive/refs/tags/v246.10.tar.gz
+ https://github.com/elogind/elogind/archive/refs/tags/v252.9.tar.gz
gperf
meson
@@ -34,6 +34,7 @@
kernel-headers
libpcre2-devel
bash-completion
+ python3-Jinja2