summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorPeiran Hong <peiran.hong@windriver.com>2019-10-08 11:33:31 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-15 14:11:08 +0100
commitf31896504c0e5619f77555689e87b8324f9ccbd8 (patch)
tree6ca034f828c551232119370c13dd1ad530a4f397 /meta/recipes-core
parent3ecb6744402332f1ad143eb1eb6a94143e1700c8 (diff)
downloadopenembedded-core-contrib-f31896504c0e5619f77555689e87b8324f9ccbd8.tar.gz
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 <peiran.hong@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/dbus/dbus_1.12.16.bb2
1 files changed, 2 insertions, 0 deletions
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"