From 5953773de9afda5c389a0d50cad054d70a1069c6 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 1 Mar 2013 15:59:16 +0100 Subject: base: fix copy of pam modules --- remote/tools/base/base.build | 5 ++--- 1 file 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" -- cgit v1.2.3-55-g7522