From ce4dac7e7d47c96c7ca5c1afee20cf4b72cb4870 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 11 Jun 2013 15:54:05 +0200 Subject: [systemd] fix pam_systemd.so copying (wrong path at build time, so need to copy explicitly...) --- remote/modules/systemd/systemd.build | 7 +++++++ remote/modules/systemd/systemd.conf | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'remote/modules/systemd') 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" -- cgit v1.2.3-55-g7522