diff options
author | Niko Mauno <niko.mauno@vaisala.com> | 2025-04-01 14:04:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-01 22:05:54 +0100 |
commit | 0ecae4c6333de30802cc468d699289ddc65e7aad (patch) | |
tree | 2b7b03764345f33311e3cadc94e0a739b8ffd014 /meta/conf | |
parent | 0ee2666f7307fe9da4cd4f1c7a94f0d288a74dd6 (diff) | |
download | poky-0ecae4c6333de30802cc468d699289ddc65e7aad.tar.gz |
default-providers: Add VIRTUAL-RUNTIME_dbus variable
The purpose of the new variable is to facilitate oe-core users who wish
to use an alternative runtime D-Bus implementation instead of the
default Freedesktop.org's dbus, such as dbus-broker, a recipe for which
is currently available under
meta-openembedded/meta-oe/recipes-core/dbus/
While introducing this facilitation the intent is to preserve the
existing functionality, while allowing the user to optionally select an
alternative runtime D-Bus implementation by adding the following line
e.g. to local.conf file:
VIRTUAL-RUNTIME_dbus = "dbus-broker"
As a background, for example the Fedora distribution uses dbus-broker
instead of Freedesktop.org's D-Bus implementation. The following
excerpts from
https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation
provide background for their technological decision
This change provides a more scalable and more reliable implementation in place of the reference implementation.
The reference implementation suffers from long-standing issues including potential dead-locks and susceptibility to denial of service attacks, which the replacement implementation does not.
and
No visible changes in behavior are expected, except for different log messages.
Any visibly different behavior to `dbus-daemon` should be reported as a regression.
Ideally, this change should only improve the performance and security of the message bus.
(From OE-Core rev: 81fd917ac05be19d8345fff272a2ffc17a257880)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/default-providers.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index d3eefb754b..cebd0400f4 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc | |||
@@ -31,6 +31,7 @@ VIRTUAL-RUNTIME_base-utils ?= "busybox" | |||
31 | VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock" | 31 | VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock" |
32 | VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog" | 32 | VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog" |
33 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | 33 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" |
34 | VIRTUAL-RUNTIME_dbus ?= "dbus" | ||
34 | 35 | ||
35 | # | 36 | # |
36 | # Default recipe providers | 37 | # Default recipe providers |