aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/d-bus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/d-bus.sh')
-rw-r--r--chapter8/d-bus.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/chapter8/d-bus.sh b/chapter8/d-bus.sh
new file mode 100644
index 0000000..3ba0536
--- /dev/null
+++ b/chapter8/d-bus.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+set -e
+
+./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-doxygen-docs \
+ --disable-xml-docs \
+ --docdir=/usr/share/doc/dbus-"${VERSION}" \
+ --with-console-auth-dir=/run/console \
+ --with-system-pid-file=/run/dbus/pid \
+ --with-system-socket=/run/dbus/system_bus_socket &&
+
+make &&
+
+make -j1 install &&
+mv -v /usr/lib/libdbus-1.so.* /lib &&
+ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so &&
+ln -sfv /etc/machine-id /var/lib/dbus