summaryrefslogtreecommitdiff
path: root/units/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-10-31 16:20:53 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-10-31 17:12:36 +0900
commit3bd469546b735b25255fba7163a8a43777fa5f93 (patch)
tree9e6670e5a24a7b7fda5cb85e04442f2dc51560b7 /units/meson.build
parent5b316b9ea6c776651c7e9bc11f842bee203c9365 (diff)
downloadsystemd-3bd469546b735b25255fba7163a8a43777fa5f93.tar.gz
meson: do not create systemd-user-sessions.service if PAM is disabled
Fixes #7227.
Diffstat (limited to 'units/meson.build')
-rw-r--r--units/meson.build2
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', ''],