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(+)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index e8c9c18f92..22a2e3c3ad 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247499): 
https://lists.openembedded.org/g/openembedded-core/message/247499
Mute This Topic: https://lists.openembedded.org/mt/121688952/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to