]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: do not create systemd-user-sessions.service if PAM is disabled 7233/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 Oct 2017 07:20:53 +0000 (16:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 Oct 2017 08:12:36 +0000 (17:12 +0900)
Fixes #7227.

units/meson.build

index 4e2ae3f302198cc89d1a639427d449bec7bd31fc..5772a27caeb35e14237d373a9bd0423e3f671ae6 100644 (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',        ''],