polkit-org / polkit

polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Other
58 stars 29 forks source link

Fix configuration with elogind #449

Closed alyssais closed 4 months ago

alyssais commented 5 months ago

Summary

Detailed description and/or reproducer

Previously, it would try to get sysusers_dir from systemd even though systemd_dep was undefined. Determining systemd_systemdsystemunitdir from systemd was already checking for systemd logind specifically, and systemd_sysusers_dir is only used in the systemd logind case, so move both of those into the systemd-logind-specific branch above.

alyssais commented 4 months ago

CI failure:

  ../meson.build:1:0: ERROR: Meson version is 0.61.2 but project requires >= 0.63.0