diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-10-31 08:20:53 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-10-31 09:12:36 +0100 |
commit | 3bd469546b735b25255fba7163a8a43777fa5f93 (patch) | |
tree | 9e6670e5a24a7b7fda5cb85e04442f2dc51560b7 | |
parent | meson: do not include man/meson.build if xsltproc not found (diff) | |
download | systemd-3bd469546b735b25255fba7163a8a43777fa5f93.tar.xz systemd-3bd469546b735b25255fba7163a8a43777fa5f93.zip |
meson: do not create systemd-user-sessions.service if PAM is disabled
Fixes #7227.
-rw-r--r-- | units/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/meson.build b/units/meson.build index 4e2ae3f302..5772a27cae 100644 --- a/units/meson.build +++ b/units/meson.build @@ -208,7 +208,7 @@ in_units = [ 'multi-user.target.wants/ graphical.target.wants/ rescue.target.wants/'], ['systemd-update-utmp.service', 'ENABLE_UTMP', 'sysinit.target.wants/'], - ['systemd-user-sessions.service', '', + ['systemd-user-sessions.service', 'HAVE_PAM', 'multi-user.target.wants/'], ['systemd-vconsole-setup.service', 'ENABLE_VCONSOLE'], ['systemd-volatile-root.service', ''], |