summaryrefslogtreecommitdiffstats
path: root/remote/setup_target
diff options
context:
space:
mode:
authorSimon Rettberg2013-06-17 12:12:23 +0200
committerSimon Rettberg2013-06-17 12:12:23 +0200
commitb7cbad98534b00134197f4ebbf4eed416de8a654 (patch)
treef5d433159ce02395b79c7efff0d275f29da8d8d5 /remote/setup_target
parent° (diff)
parent[systemd] add missing pam header (diff)
downloadtm-scripts-b7cbad98534b00134197f4ebbf4eed416de8a654.tar.gz
tm-scripts-b7cbad98534b00134197f4ebbf4eed416de8a654.tar.xz
tm-scripts-b7cbad98534b00134197f4ebbf4eed416de8a654.zip
Merge branch 'master' of simonslx:openslx-ng/tm-scripts
Conflicts: remote/modules/pam/pam.conf
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-xremote/setup_target7
1 files changed, 7 insertions, 0 deletions
diff --git a/remote/setup_target b/remote/setup_target
index 4ea1cbc2..54ed0cb0 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -314,6 +314,13 @@ post_process_target() {
rm -r "${TARGET_BUILD_DIR}/lib/systemd"
fi
+ # figure out all relevant ld-paths
+ local LDTEMP="$TARGET_BUILD_DIR/ldconf-temp"
+ grep -h '^\s*/' /etc/ld.so.conf /etc/ld.so.conf.d/* > "$LDTEMP"
+ # TODO: Echo other stuff to $LDTEMP (but figure out if first or last match wins)
+ ldconfig -v -r "${TARGET_BUILD_DIR}" -f "/ldconf-temp"
+ unlink "$LDTEMP"
+
}
clean_modules() {