[Buildroot] [PATCH] package/dbus: set runstatedir to /run

Norbert Lange nolange79 at gmail.com
Fri Nov 17 09:52:51 UTC 2023


Buildroot uses /run for all init systems, and with systemd you will
get several warnings in regards to tmpfiles.d/dbus.conf using
a "legacy" path.

Fix it by configuring the correct runstatedir.

(See 0d3a3e61ee why this setting is not enabled by default)

Signed-off-by: Norbert Lange <nolange79 at gmail.com>
---
 package/dbus/dbus.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 930b1a298b..ad918371c3 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -28,6 +28,7 @@ DBUS_DEPENDENCIES = host-pkgconf expat
 DBUS_SELINUX_MODULES = dbus
 
 DBUS_CONF_OPTS = \
+	--runstatedir=/run \
 	--with-dbus-user=dbus \
 	--disable-tests \
 	--disable-asserts \
-- 
2.39.2




More information about the buildroot mailing list