diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-08-08 14:50:57 +0200 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-10-29 10:18:38 +0100 |
commit | a6538e8d3030067b01ae436c59d7fc70559a40ac (patch) | |
tree | ae6b8160fb90c8ff94ef03c323c52822085b199e /src/login/meson.build | |
parent | 7c7734999ea003d756f8c0b6268bc374a1214e34 (diff) |
logind: change user-runtime-dir to query runtime dir size from logind via the bus
I think this is a slightly cleaner approach than parsing the
configuration file at multiple places, as this way there's only a single
reload cycle for logind.conf, and that's systemd-logind.service's
runtime.
This means that logind and dbus become a requirement of
user-runtime-dir, but given that XDG_RUNTIME_DIR is not set anyway
without logind and dbus around this isn't really any limitation.
This also simplifies linking a bit as this means user-runtime-dir
doesn't have to link against any code of logind itself.
(cherry picked from commit 07ee5adb356b9fde500c8a5226f24a314789832b)
Diffstat (limited to 'src/login/meson.build')
-rw-r--r-- | src/login/meson.build | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/login/meson.build b/src/login/meson.build index f8c536464..81f39e1ea 100644 --- a/src/login/meson.build +++ b/src/login/meson.build @@ -83,7 +83,6 @@ loginctl_sources = files(''' #if 0 /// UNNEEDED by elogind # user_runtime_dir_sources = files(''' # user-runtime-dir.c -# logind.h # '''.split()) #endif // 0 |