diff mbox series

[meta-oe,2/2] upower: Support using alternative runtime D-Bus

Message ID 20250402111848.3803825-2-niko.mauno@vaisala.com
State New
Headers show
Series [meta-oe,1/2] libgpiod: Support using alternative runtime D-Bus | expand

Commit Message

Niko Mauno April 2, 2025, 11:18 a.m. UTC
In order to facilitate using e.g. dbus-broker as runtime D-Bus
implementation, change the Freedesktop.org specific D-Bus runtime
dependency declaration to honor oe-core's new VIRTUAL-RUNTIME_dbus
variable.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 meta-oe/recipes-support/upower/upower_1.90.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/upower/upower_1.90.6.bb b/meta-oe/recipes-support/upower/upower_1.90.6.bb
index 6d5fa70162..5bac85c57d 100644
--- a/meta-oe/recipes-support/upower/upower_1.90.6.bb
+++ b/meta-oe/recipes-support/upower/upower_1.90.6.bb
@@ -38,7 +38,7 @@  SYSTEMD_SERVICE:${PN} = "upower.service"
 # don't start on boot by default - dbus does that on demand
 SYSTEMD_AUTO_ENABLE = "disable"
 
-RDEPENDS:${PN} += "dbus"
+RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_dbus}"
 RRECOMMENDS:${PN} += "pm-utils"
 FILES:${PN} += " \
     ${datadir}/dbus-1/ \