From: Ross Burton Date: Tue, 3 Mar 2015 11:37:52 +0000 (+0000) Subject: tmpfiles.d: only copy /etc/pam.d if PAM is present X-Git-Tag: v219.0~509 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3b33b542733f68123efb46dbb7c3903235302e1f;p=elogind.git tmpfiles.d: only copy /etc/pam.d if PAM is present If HAVE_PAM isn't set then don't attempt to copy /etc/pam.d from the factory, as it doesn't get installed. --- diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4 index 9b0e080e6..ab5cd16f2 100644 --- a/tmpfiles.d/etc.conf.m4 +++ b/tmpfiles.d/etc.conf.m4 @@ -14,4 +14,6 @@ m4_ifdef(`ENABLE_RESOLVED', L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf )m4_dnl C /etc/nsswitch.conf - - - - +m4_ifdef(`HAVE_PAM', C /etc/pam.d - - - - +)m4_dnl