]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: Change path of system_bus_socket from /var/run/dbus/ to /run/dbus/
authorPeiran Hong <peiran.hong@windriver.com>
Tue, 8 Oct 2019 15:33:31 +0000 (11:33 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Oct 2019 13:11:08 +0000 (14:11 +0100)
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 <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus_1.12.16.bb

index 05716608b0a01a2a156df33ae38896224bc86715..f4fec2365c2e5c7896d8f6a4ce155825c649c741 100644 (file)
@@ -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"