diff options
author | Peiran Hong <peiran.hong@windriver.com> | 2019-10-08 11:33:31 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-15 14:16:11 +0100 |
commit | 927e1549afb011896da7037a995cf6ac77c68254 (patch) | |
tree | 12b62df136bbe0141a84360d9d0536063306a3af | |
parent | 7ed5aa23c796b8593a4bf66f1b36ffbc69a27496 (diff) | |
download | poky-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.bb | 2 |
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 | |||
95 | EXTRA_OECONF = "--disable-tests \ | 96 | EXTRA_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 | ||
102 | EXTRA_OECONF_append_class-target = " SYSTEMCTL=${base_bindir}/systemctl" | 104 | EXTRA_OECONF_append_class-target = " SYSTEMCTL=${base_bindir}/systemctl" |