summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>2014-09-25 18:12:03 -0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-09-25 18:19:04 -0400
commit2f88c8583aea6626c5f0a84cfc6de4b0a17f2d1c (patch)
treecb3afc14ceb3c16b6b3edd170410858ccd7d2988
parent0b094b10b4268383c836fa4f285e02ba25ed3ad0 (diff)
do not install factory/etc/pam.d if --disable-pam
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index bf860cdc00..1bdc91c239 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2048,9 +2048,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