summaryrefslogtreecommitdiffstats
path: root/remote/modules/systemd/systemd.build
diff options
context:
space:
mode:
authorSimon Rettberg2013-06-11 18:17:25 +0200
committerSimon Rettberg2013-06-11 18:17:25 +0200
commit6f85f761a763b5d999768a8950c9e44f81e45c4f (patch)
tree3a15d50402c72332d9da4a41fe4bd26a7a1ec3db /remote/modules/systemd/systemd.build
parent[xorg] Fix GLX on SUSE (intel only) (diff)
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-6f85f761a763b5d999768a8950c9e44f81e45c4f.tar.gz
tm-scripts-6f85f761a763b5d999768a8950c9e44f81e45c4f.tar.xz
tm-scripts-6f85f761a763b5d999768a8950c9e44f81e45c4f.zip
Merge branch 'master' of simonslx:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/systemd/systemd.build')
-rw-r--r--remote/modules/systemd/systemd.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build
index a0a57b4d..112298e3 100644
--- a/remote/modules/systemd/systemd.build
+++ b/remote/modules/systemd/systemd.build
@@ -47,5 +47,12 @@ post_copy() {
# add nfs to modules-load list
echo "nfs" > "${TARGET_BUILD_DIR}/etc/modules-load.d/nfs.conf"
+
+ # add pam_systemd.so to pam modules directory
+ if [ -e "${MODULE_BUILD_DIR}/usr/lib/security/pam_systemd.so" ]; then
+ cp "${MODULE_BUILD_DIR}/usr/lib/security/pam_systemd.so" "${TARGET_BUILD_DIR}/lib/security/"
+ else
+ pdebug "No such file: ${MODULE_BUILD_DIR}/usr/lib/security/pam_systemd.so"
+ fi
}