summaryrefslogtreecommitdiffstats
path: root/remote/setup_target
diff options
context:
space:
mode:
authorChristian Rößler2013-09-04 13:08:20 +0200
committerChristian Rößler2013-09-04 13:08:20 +0200
commit3ec1e1b106d3c4bc58be557ee472b9696024f1ea (patch)
tree76ae8e647a7cb9b5c46a4890b1f06a7522a0f5dc /remote/setup_target
parent[vbox] README file updated: systemd-udevd limitation ENV{DEVTYPE}=="usb_device" (diff)
parentAdd udisks module (diff)
downloadtm-scripts-3ec1e1b106d3c4bc58be557ee472b9696024f1ea.tar.gz
tm-scripts-3ec1e1b106d3c4bc58be557ee472b9696024f1ea.tar.xz
tm-scripts-3ec1e1b106d3c4bc58be557ee472b9696024f1ea.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-xremote/setup_target19
1 files changed, 0 insertions, 19 deletions
diff --git a/remote/setup_target b/remote/setup_target
index 9db5ba20..b783729f 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -355,25 +355,6 @@ post_process_target() {
rm -r "${TARGET_BUILD_DIR}/lib/systemd"
fi
- # replace ck connector with fake one
- # CAVE: On Scientific Lunux (6.4) and perhaps others:
- # If include dbus/dbus-arch-deps.h is missing (file not found) either set a symb. link:
- # /usr/include/dbus-1.0/dbus/dbus-arch-deps.h -> /usr/lib(64)/dbus-1.0/include/dbus/dbus-arch-deps.h
- # or execute "pkg-config dbus-1 --cflags".
-
- local CK_LIBS=$(find "$TARGET_BUILD_DIR" -name "libck-connector.so*")
- if [ -n "$CK_LIBS" ]; then
- pinfo "Replacing libck-connector with dummy"
- local SRC="$ROOT_DIR/remote/post-patch/ck-connector/fake-ck-connector.c"
- local BIN="$ROOT_DIR/remote/post-patch/ck-connector/libck-connector.so"
- if [ ! -s "$BIN" ]; then
- gcc -O3 -shared -o "$BIN" "-I/usr/include/dbus-1.0" "-I/usr/lib/$ARCH_TRIPLET/dbus-1.0/include" "$SRC" || perror "Compiling fake libck-connector.so failed. Make sure libdbus-1-dev is installed."
- fi
- for OCCURENCE in $CK_LIBS; do
- cp "$BIN" "$OCCURENCE" || perror "Frickeling ck-connector to $OCCURENCE failed."
- done
- fi
-
# figure out all relevant ld-paths
pinfo "Running ldconfig"
local LDTEMP="$TARGET_BUILD_DIR/ldconf-temp"