diff options
| author | Jonathan Bauer | 2013-03-01 15:59:16 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-01 15:59:16 +0100 |
| commit | 5953773de9afda5c389a0d50cad054d70a1069c6 (patch) | |
| tree | f7c630654516fd83c3d7a4211edcbd31d5bb85d9 /remote/tools | |
| parent | tools cleanup: clean everything but leave the stage3.2 there, for bind mount ... (diff) | |
| download | tm-scripts-5953773de9afda5c389a0d50cad054d70a1069c6.tar.gz tm-scripts-5953773de9afda5c389a0d50cad054d70a1069c6.tar.xz tm-scripts-5953773de9afda5c389a0d50cad054d70a1069c6.zip | |
base: fix copy of pam modules
Diffstat (limited to 'remote/tools')
| -rw-r--r-- | remote/tools/base/base.build | 5 |
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" |
