diff mbox series

[v3,09/11] dbus-broker: Declare runtime conflict with dbus

Message ID 20250404105150.870898-9-niko.mauno@vaisala.com
State New
Headers show
Series [v3,01/11] dbus-cxx: Amend dbus build time dependency | expand

Commit Message

Niko Mauno April 4, 2025, 10:51 a.m. UTC
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>
---
 meta-oe/recipes-core/dbus/dbus-broker_36.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-core/dbus/dbus-broker_36.bb b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
index 5b4915f968..8c8f2d2469 100644
--- a/meta-oe/recipes-core/dbus/dbus-broker_36.bb
+++ b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
@@ -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"