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

Only add dbus to PTESTS_SLOW when dbus-broker is not the dbus provider.

Signed-off-by: Khem Raj <[email protected]>
---
 meta/conf/distro/include/ptest-packagelists.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index e8c9c18f92..1f00a67f99 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -122,7 +122,7 @@ PTESTS_SLOW = "\
     bzip2 \
     coreutils \
     curl \
-    dbus \
+    ${@'' if d.getVar('VIRTUAL-RUNTIME_dbus') == 'dbus-broker' else 'dbus'} \
     dosfstools \
     dpkg \
     e2fsprogs \
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247498): 
https://lists.openembedded.org/g/openembedded-core/message/247498
Mute This Topic: https://lists.openembedded.org/mt/121686613/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to