From: Niko Mauno Date: Tue, 1 Apr 2025 14:04:28 +0000 (+0000) Subject: systemd: Support using alternative runtime D-Bus X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9a41652f7b40edf84278c0f3922321a613297f7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd: Support using alternative runtime D-Bus In order to facilitate oe-core users who wish to use e.g. dbus-broker as their runtime D-Bus implementation, change the Freedesktop.org specific D-Bus runtime dependency to honor the new VIRTUAL-RUNTIME_dbus variable. Signed-off-by: Niko Mauno Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_257.4.bb b/meta/recipes-core/systemd/systemd_257.4.bb index 64fb8fe69ac..24aad11c0ab 100644 --- a/meta/recipes-core/systemd/systemd_257.4.bb +++ b/meta/recipes-core/systemd/systemd_257.4.bb @@ -752,7 +752,7 @@ FILES:${PN} = " ${base_bindir}/* \ FILES:${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd" -RDEPENDS:${PN} += "kmod dbus util-linux-mount util-linux-umount udev (= ${EXTENDPKGV}) systemd-udev-rules util-linux-agetty util-linux-fsck util-linux-swaponoff util-linux-mkswap" +RDEPENDS:${PN} += "kmod ${VIRTUAL-RUNTIME_dbus} util-linux-mount util-linux-umount udev (= ${EXTENDPKGV}) systemd-udev-rules util-linux-agetty util-linux-fsck util-linux-swaponoff util-linux-mkswap" RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)}" RDEPENDS:${PN} += "volatile-binds"