summaryrefslogtreecommitdiffstats
path: root/remote/modules/systemd
diff options
context:
space:
mode:
authorMichael Neves2013-06-12 15:57:10 +0200
committerMichael Neves2013-06-12 15:57:10 +0200
commit4b077a5012594cafd19020f43c586c3c15cc109a (patch)
tree887f4c5bd32ff74793649c4255064eafbf6c2434 /remote/modules/systemd
parent[systemd] add configure flag for ACL support (diff)
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-4b077a5012594cafd19020f43c586c3c15cc109a.tar.gz
tm-scripts-4b077a5012594cafd19020f43c586c3c15cc109a.tar.xz
tm-scripts-4b077a5012594cafd19020f43c586c3c15cc109a.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/systemd')
-rw-r--r--remote/modules/systemd/systemd.build7
-rw-r--r--remote/modules/systemd/systemd.conf1
2 files changed, 7 insertions, 1 deletions
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build
index 76f9ce6d..027024cf 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
}
diff --git a/remote/modules/systemd/systemd.conf b/remote/modules/systemd/systemd.conf
index 7623b58e..1bf44782 100644
--- a/remote/modules/systemd/systemd.conf
+++ b/remote/modules/systemd/systemd.conf
@@ -107,4 +107,3 @@ REQUIRED_DIRECTORIES="
/usr/lib/systemd
/usr/lib/tmpfiles.d
"
-REQUIRED_FILES=" /usr/lib/security/pam_systemd.so"