summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remote/tools/base/base.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/remote/tools/base/base.build b/remote/tools/base/base.build
index 569d4e15..49f44ceb 100644
--- a/remote/tools/base/base.build
+++ b/remote/tools/base/base.build
@@ -65,9 +65,8 @@ post_copy() {
# copy static files
cp -r "${TOOL_DIR}/${TOOL}"/data/* "${INIT_DIR}" || perror "Copying static files from data/* failed."
- # better: dirname $(ldd $SHELL|grep libc | awk -F " " '{print $3}')
- # copy pam modules, TODO: better way to find arch-dependant interfix...
- tarcopy "$(dirname $(locate pam_unix.so | grep ^/lib/))" "${INIT_DIR}"
+ # copy pam modules
+ tarcopy "$(dirname $(ldd $SHELL|grep libc | awk -F " " '{print $3}'))"/security "${INIT_DIR}"
# quick fix for /etc/fstab
echo "# no configuration" >> "${INIT_DIR}/etc/fstab"