1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

factory: install minimal PAM and nsswitch config

This commit is contained in:
Kay Sievers 2014-07-29 16:44:04 +02:00
parent 9ec6e95b04
commit 94a15ffa14
2 changed files with 12 additions and 1 deletions

View File

@ -106,6 +106,8 @@ udevrulesdir=$(udevlibexecdir)/rules.d
udevhwdbdir=$(udevlibexecdir)/hwdb.d udevhwdbdir=$(udevlibexecdir)/hwdb.d
catalogdir=$(prefix)/lib/systemd/catalog catalogdir=$(prefix)/lib/systemd/catalog
kernelinstalldir = $(prefix)/lib/kernel/install.d 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 / # And these are the special ones for /
rootprefix=@rootprefix@ rootprefix=@rootprefix@
@ -1927,6 +1929,14 @@ INSTALL_DIRS += \
$(sysusersdir) $(sysusersdir)
endif 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 if ENABLE_FIRSTBOOT
systemd_firstboot_SOURCES = \ systemd_firstboot_SOURCES = \
@ -1951,7 +1961,6 @@ EXTRA_DIST += \
SYSINIT_TARGET_WANTS += \ SYSINIT_TARGET_WANTS += \
systemd-firstboot.service systemd-firstboot.service
endif endif
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------

View File

@ -11,3 +11,5 @@ L /etc/os-release - - - - ../usr/lib/os-release
L /etc/localtime - - - - ../usr/share/zoneinfo/UTC L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
L+ /etc/mtab - - - - ../proc/self/mounts L+ /etc/mtab - - - - ../proc/self/mounts
L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
C /etc/nsswitch.conf - - - -
C /etc/pam.d - - - -