From 5b64423eafa0acae19e75b08e109365a3ef58297 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 24 Jun 2018 14:41:32 +0200 Subject: [PATCH] dbus: use /run instead of /var/run Signed-off-by: Matthias Reichl --- packages/sysutils/dbus/package.mk | 4 +++- packages/sysutils/dbus/tmpfiles.d/z_02_dbus.conf | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/dbus/package.mk b/packages/sysutils/dbus/package.mk index 54f153977c..ffcab1b77c 100644 --- a/packages/sysutils/dbus/package.mk +++ b/packages/sysutils/dbus/package.mk @@ -46,7 +46,9 @@ PKG_CONFIGURE_OPTS_TARGET="export ac_cv_have_abstract_sockets=yes \ --enable-inotify \ --without-valgrind \ --without-x \ - --with-dbus-user=dbus" + --with-dbus-user=dbus \ + --runstatedir=/run \ + --with-system-socket=/run/dbus/system_bus_socket" post_makeinstall_target() { rm -rf $INSTALL/etc/rc.d diff --git a/packages/sysutils/dbus/tmpfiles.d/z_02_dbus.conf b/packages/sysutils/dbus/tmpfiles.d/z_02_dbus.conf index 66e89dade6..5f054ab243 100644 --- a/packages/sysutils/dbus/tmpfiles.d/z_02_dbus.conf +++ b/packages/sysutils/dbus/tmpfiles.d/z_02_dbus.conf @@ -17,6 +17,6 @@ ################################################################################ d /var/lib/dbus 0755 root root - - -d /var/run/dbus 0755 root root - - +d /run/dbus 0755 root root - - L /var/lib/dbus/machine-id - - - - /etc/machine-id