meson: do not create systemd-user-sessions.service if PAM is disabled

Fixes #7227.
This commit is contained in:
Yu Watanabe 2017-10-31 16:20:53 +09:00
parent 5b316b9ea6
commit 3bd469546b
1 changed files with 1 additions and 1 deletions

View File

@ -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', ''],