ptest-packagelists: Skip dbus ptest when dbus-broker is the dbus provider
PATCH v2 1/1 ptest-packagelists: Skip dbus ptest when dbus-broker is the dbus provider
When a distro sets VIRTUAL-RUNTIME_dbus = "dbus-broker", systemd RDEPENDS on dbus-broker, which RCONFLICTS with dbus. dbus-ptest RDEPENDS on dbus, so core-image-ptest-dbus fails in do_rootfs:
package systemd requires dbus-broker, but none of the providers can be installed package dbus-broker conflicts with dbus provided by dbus-1
package dbus-ptest requires dbus, but none of the providers can be installed
Remove dbus from PTESTS_SLOW when dbus-broker is not the dbus provider.
Signed-off-by Khem Raj <[email protected]>
---
v2: Use remove instead of append to avoid missing-ptest QA warning
meta/conf/distro/include/ptest-packagelists.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta/conf/distro/include/ptest-packagelists.inc +4 -0
@@ -180,6 +180,10 @@ PTESTS_SLOW:remove:libc-musl:qemux86-64 = "perl gnutls" PTESTS_FAST:remove:libc-musl:qemux86-64 = "libarchive" PTESTS_PROBLEMS:append:libc-musl:qemux86-64 = " perl gnutls libarchive" +# dbus conflicts with dbus-broker +PTESTS_SLOW:remove = "${@'dbus' if d.getVar('VIRTUAL-RUNTIME_dbus') == 'dbus-broker' else ''}" +PTESTS_PROBLEMS:append = "${@' dbus' if d.getVar('VIRTUAL-RUNTIME_dbus') == 'dbus-broker' else ''}" + # ruby \ # Timeout # rt-tests \ # Needs to be checked whether it runs at all # bash \ # Test outcomes are non-deterministic by design