fwupd: use VIRTUAL-RUNTIME_dbus for ptest RDEPENDS

Same problem as xdg-dbus-proxy: the hardcoded "dbus" RDEPENDS makes
meta-oe-image-ptest-fwupd fail do_rootfs on a distro whose
VIRTUAL-RUNTIME_dbus is dbus-broker, since dbus-broker RCONFLICTS with
the dbus provided by dbus-1 while systemd requires dbus-broker.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2026-08-17 20:38:30 +02:00
committed by Khem Raj
parent 63bff20667
commit 176c2485b9
+1 -1
View File
@@ -81,7 +81,7 @@ FILES:${PN} += "\
FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
${datadir}/installed-tests/"
RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3 dbus"
RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3 ${VIRTUAL-RUNTIME_dbus}"
# ESP mounting, not strictly necessary
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}"