chiark / gitweb /
factory: install minimal PAM and nsswitch config
[elogind.git] / Makefile.am
index cd3a2d747d068433bf337ec8d2abd5e2eaa450db..9f2900cb6f14c821b370c764919420ec02df045f 100644 (file)
@@ -106,6 +106,8 @@ udevrulesdir=$(udevlibexecdir)/rules.d
 udevhwdbdir=$(udevlibexecdir)/hwdb.d
 catalogdir=$(prefix)/lib/systemd/catalog
 kernelinstalldir = $(prefix)/lib/kernel/install.d
+factory_etcdir = $(prefix)/share/factory/etc
+factory_pamdir = $(prefix)/share/factory/etc/pam.d
 
 # And these are the special ones for /
 rootprefix=@rootprefix@
@@ -1927,6 +1929,14 @@ INSTALL_DIRS += \
        $(sysusersdir)
 endif
 
+# ------------------------------------------------------------------------------
+dist_factory_etc_DATA = \
+       factory/etc/nsswitch.conf
+
+dist_factory_pam_DATA = \
+       factory/etc/pam.d/system-auth \
+       factory/etc/pam.d/other
+
 # ------------------------------------------------------------------------------
 if ENABLE_FIRSTBOOT
 systemd_firstboot_SOURCES = \
@@ -1951,7 +1961,6 @@ EXTRA_DIST += \
 
 SYSINIT_TARGET_WANTS += \
        systemd-firstboot.service
-
 endif
 
 # ------------------------------------------------------------------------------