fwupd: fix ptests

The ptest package requires dbus as a runtime dependency, otherwise the tests fail
with the following error:

Failed to connect to daemon: Could not connect: No such file or directory
FAIL: fwupd/fwupd.test (Child process exited with code 1)
SUMMARY: total=1; passed=0; skipped=0; failed=1; user=0.7s; system=0.1s; maxrss=21716
FAIL: fwupd/fwupd.test (Child process exited with code 1)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-10-16 16:04:13 +02:00 committed by Khem Raj
parent fbd80e3ab2
commit 2c8072f178
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -85,7 +85,7 @@ FILES:${PN} += "\
FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
${datadir}/installed-tests/"
RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3"
RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3 dbus"
# ESP mounting, not strictly necessary
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}"