dbus-broker: Declare runtime conflict with dbus

The user should now be able to choose the preferred runtime D-Bus
implementation with VIRTUAL-RUNTIME_dbus variable. In order to avoid
situation where both Freedesktop.org's dbus and dbus-broker are pulled
into the same root filesystem, add conflict declaration which will help
to detect the problem already during the Yocto build.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Niko Mauno 2025-04-04 10:51:48 +00:00 committed by Khem Raj
parent b63f5b4c8a
commit 86c0c57ddd
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -30,6 +30,7 @@ do_install:append() {
ln -s ${systemd_user_unitdir}/dbus-broker.service ${D}${sysconfdir}/systemd/user/dbus.service
}
RCONFLICTS:${PN} = "dbus"
RDEPENDS:${PN} += "dbus-common"
FILES:${PN} += "${nonarch_libdir}/systemd/catalog"