upower: Support using alternative runtime D-Bus

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Niko Mauno
2025-04-04 10:51:46 +00:00
committed by Khem Raj
parent 5dd7a7895f
commit be592aad64
@@ -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/ \