ptest-packagelists: Skip dbus ptest when dbus-broker is the dbus provider
PATCH 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
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(-)
meta/conf/distro/include/ptest-packagelists.inc +1 -1
@@ -122,7 +122,7 @@ PTESTS_SLOW = "\ bzip2 \ coreutils \ curl \ - dbus \ + ${@'' if d.getVar('VIRTUAL-RUNTIME_dbus') == 'dbus-broker' else 'dbus'} \ dosfstools \ dpkg \ e2fsprogs \