diff options
| author | Simon Rettberg | 2013-09-03 17:42:51 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-09-30 13:22:03 +0200 |
| commit | bae5ec1ed4ca07b552d6523e424a0ace5fa86933 (patch) | |
| tree | d5d6446821a19aa4e553b4a9de9fd5145d4e27d8 /remote/setup_target | |
| parent | [vbox] Readme file with notes on pathced scripts (diff) | |
| download | tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.tar.gz tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.tar.xz tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.zip | |
Add consolekit and polkit
Diffstat (limited to 'remote/setup_target')
| -rwxr-xr-x | remote/setup_target | 19 |
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" |
