From: Yu Watanabe Date: Tue, 31 Oct 2017 07:20:53 +0000 (+0900) Subject: meson: do not create systemd-user-sessions.service if PAM is disabled X-Git-Tag: v236~275^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3bd469546b735b25255fba7163a8a43777fa5f93;p=platform%2Fupstream%2Fsystemd.git meson: do not create systemd-user-sessions.service if PAM is disabled Fixes #7227. --- diff --git a/units/meson.build b/units/meson.build index 4e2ae3f..5772a27 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', ''],