From 215feb45ed5a9c0ebc1863aba05cdcce30501375 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 20 Apr 2021 10:27:12 -0500 Subject: Adjust for systemd specific builds. --- chapter8/d-bus.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 chapter8/d-bus.sh (limited to 'chapter8/d-bus.sh') 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 -- cgit v1.2.3-54-g00ecf