From f31896504c0e5619f77555689e87b8324f9ccbd8 Mon Sep 17 00:00:00 2001 From: Peiran Hong Date: Tue, 8 Oct 2019 11:33:31 -0400 Subject: dbus: Change path of system_bus_socket from /var/run/dbus/ to /run/dbus/ Fixed a warning message during startup caused by referencing the legacy directory /var/run instead of /run. An extra parameter is passed to the configure script to achiveve this. Upstream cannot provide a fix due to another Linux distribution (Slackware) uses /var/run and /run as different directories. Refer to https://gitlab.freedesktop.org/dbus/dbus/issues/282 for details. Signed-off-by: Peiran Hong Signed-off-by: Richard Purdie --- meta/recipes-core/dbus/dbus_1.12.16.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-core/dbus') diff --git a/meta/recipes-core/dbus/dbus_1.12.16.bb b/meta/recipes-core/dbus/dbus_1.12.16.bb index 05716608b0..f4fec2365c 100644 --- a/meta/recipes-core/dbus/dbus_1.12.16.bb +++ b/meta/recipes-core/dbus/dbus_1.12.16.bb @@ -92,11 +92,13 @@ pkg_postinst_dbus() { fi } + EXTRA_OECONF = "--disable-tests \ --disable-xml-docs \ --disable-doxygen-docs \ --disable-libaudit \ --enable-largefile \ + --with-system-socket=/run/dbus/system_bus_socket \ " EXTRA_OECONF_append_class-target = " SYSTEMCTL=${base_bindir}/systemctl" -- cgit 1.2.3-korg