[systemd-devel] [PATCH] do not install factory/etc/pam.d if --disable-pam

Gustavo Sverzut Barbieri gustavo.barbieri at intel.com
Thu Sep 25 14:12:03 PDT 2014


---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 5312851..52f578b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2050,9 +2050,11 @@ endif
 dist_factory_etc_DATA = \
 	factory/etc/nsswitch.conf
 
+if HAVE_PAM
 dist_factory_pam_DATA = \
 	factory/etc/pam.d/system-auth \
 	factory/etc/pam.d/other
+endif
 
 # ------------------------------------------------------------------------------
 if ENABLE_FIRSTBOOT
-- 
2.1.0



More information about the systemd-devel mailing list