summaryrefslogtreecommitdiffstats
path: root/remote/tools
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-14 14:39:59 +0100
committerJonathan Bauer2013-03-14 14:39:59 +0100
commit4f360a21d8d23b333e1228553ba2f6cc513b42dc (patch)
tree47a80cc0860f64d7ac297219fb92c38dc00c69e9 /remote/tools
parentstrip binaries and libraries in setup_tools (diff)
downloadtm-scripts-4f360a21d8d23b333e1228553ba2f6cc513b42dc.tar.gz
tm-scripts-4f360a21d8d23b333e1228553ba2f6cc513b42dc.tar.xz
tm-scripts-4f360a21d8d23b333e1228553ba2f6cc513b42dc.zip
base: location to pam modules from config file, since we now have ARCH_TRIPLET
Diffstat (limited to 'remote/tools')
-rw-r--r--remote/tools/base/base.build3
-rw-r--r--remote/tools/base/base.conf4
2 files changed, 3 insertions, 4 deletions
diff --git a/remote/tools/base/base.build b/remote/tools/base/base.build
index a797bc44..b0d567ff 100644
--- a/remote/tools/base/base.build
+++ b/remote/tools/base/base.build
@@ -64,9 +64,6 @@ post_copy() {
# copy static files
cp -r "${TOOL_DIR}/${TOOL}"/data/* "${TARGET_BUILD_DIR}" || perror "Copying static files from data/* failed."
- # copy pam modules
- tarcopy "/lib/${ARCH_TRIPLET}/security /lib/security" "${TARGET_BUILD_DIR}"
-
# quick fix for /etc/fstab
echo "# no configuration" >> "${TARGET_BUILD_DIR}/etc/fstab"
diff --git a/remote/tools/base/base.conf b/remote/tools/base/base.conf
index 4af855b3..cfb981f8 100644
--- a/remote/tools/base/base.conf
+++ b/remote/tools/base/base.conf
@@ -39,7 +39,9 @@ REQUIRED_LIBRARIES=" libcap
libresolv
libau"
REQUIRED_DIRECTORIES=" /etc/pam.d
- /etc/security"
+ /etc/security
+ /lib/security
+ /lib/$ARCH_TRIPLET/security"
REQUIRED_FILES=" /etc/environment
/etc/pam.conf
/etc/issue