From: Niko Mauno Date: Tue, 1 Apr 2025 14:04:27 +0000 (+0000) Subject: dbus-glib: Revise RDEPENDS:${PN}-tests assignment X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd74093b8aaedb6086247e5562433c2218fc6455;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git dbus-glib: Revise RDEPENDS:${PN}-tests assignment Since this recipe has 'dbus' in DEPENDS, assigning dbus-glib-tests runtime dependency to '${PN}' instead of 'dbus' will induce pulling the preferred runtime D-Bus package to rootfs, thanks to libdbus' runtime recommendation of ${VIRTUAL-RUNTIME_dbus}. Suggested-by: Richard Purdie Signed-off-by: Niko Mauno Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/dbus/dbus-glib_0.114.bb b/meta/recipes-core/dbus/dbus-glib_0.114.bb index ff7c2d6613a..28a9d4a4fc7 100644 --- a/meta/recipes-core/dbus/dbus-glib_0.114.bb +++ b/meta/recipes-core/dbus/dbus-glib_0.114.bb @@ -38,7 +38,7 @@ LICENSE:${PN}-bash-completion = "GPL-2.0-or-later" FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" FILES:${PN}-dev += "${bindir}/dbus-binding-tool" -RDEPENDS:${PN}-tests += "dbus" +RDEPENDS:${PN}-tests = "${PN}" FILES:${PN}-tests = "${datadir}/${BPN}/tests" BBCLASSEXTEND = "native"