summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-10-31 08:20:53 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-10-31 09:12:36 +0100
commit3bd469546b735b25255fba7163a8a43777fa5f93 (patch)
tree9e6670e5a24a7b7fda5cb85e04442f2dc51560b7
parentmeson: do not include man/meson.build if xsltproc not found (diff)
downloadsystemd-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.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', ''],