summaryrefslogtreecommitdiffstats
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:16:11 +0100
commit927e1549afb011896da7037a995cf6ac77c68254 (patch)
tree12b62df136bbe0141a84360d9d0536063306a3af
parent7ed5aa23c796b8593a4bf66f1b36ffbc69a27496 (diff)
downloadpoky-927e1549afb011896da7037a995cf6ac77c68254.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. (From OE-Core rev: f31896504c0e5619f77555689e87b8324f9ccbd8) Signed-off-by: Peiran Hong <peiran.hong@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
92 fi 92 fi
93} 93}
94 94
95
95EXTRA_OECONF = "--disable-tests \ 96EXTRA_OECONF = "--disable-tests \
96 --disable-xml-docs \ 97 --disable-xml-docs \
97 --disable-doxygen-docs \ 98 --disable-doxygen-docs \
98 --disable-libaudit \ 99 --disable-libaudit \
99 --enable-largefile \ 100 --enable-largefile \
101 --with-system-socket=/run/dbus/system_bus_socket \
100 " 102 "
101 103
102EXTRA_OECONF_append_class-target = " SYSTEMCTL=${base_bindir}/systemctl" 104EXTRA_OECONF_append_class-target = " SYSTEMCTL=${base_bindir}/systemctl"