diff options
| author | Jonathan Bauer | 2013-06-11 15:54:05 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-06-11 15:54:05 +0200 |
| commit | ce4dac7e7d47c96c7ca5c1afee20cf4b72cb4870 (patch) | |
| tree | a14dd72bf85b34cc03b0abd342f8b1638e6eae6f /remote/modules/systemd | |
| parent | [systemd] add pam_systemd.so to REQUIRED_FILES (diff) | |
| download | tm-scripts-ce4dac7e7d47c96c7ca5c1afee20cf4b72cb4870.tar.gz tm-scripts-ce4dac7e7d47c96c7ca5c1afee20cf4b72cb4870.tar.xz tm-scripts-ce4dac7e7d47c96c7ca5c1afee20cf4b72cb4870.zip | |
[systemd] fix pam_systemd.so copying (wrong path at build time, so need to copy explicitly...)
Diffstat (limited to 'remote/modules/systemd')
| -rw-r--r-- | remote/modules/systemd/systemd.build | 7 | ||||
| -rw-r--r-- | remote/modules/systemd/systemd.conf | 1 |
2 files changed, 7 insertions, 1 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 } 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" |
