]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
dbus: use the systemd class to handle the unit files
authorRoss Burton <ross.burton@arm.com>
Tue, 5 Aug 2025 11:26:13 +0000 (12:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Aug 2025 09:43:42 +0000 (10:43 +0100)
commita296b0623eb23300751b8c571ad804884d1fbd4f
tree2533c492092ae4a9170201a233a0053e220a478e
parentf8908b147d888426811356d7ccd7547f3519fe29
dbus: use the systemd class to handle the unit files

Originally, the dbus recipe couldn't use the systemd class because there
was a circular dependency between systemd and dbus.

However, since systemd v209 in 2014[1] systemd hasn't needed libdbus, as
it has it's own implementation of the client library. DBus does not use
the systemd libraries, so there is no circular dependency.

The dbus build was already was installing the service and socket files,
so we are installing them again. Remove the installation of the units.

Manually mask dbus-1.service by simply creating a symlink, instead of
depending on systemctl and using an postinstall script.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] dbus: 718db96199 ("core: convert PID 1 to libsystemd-bus")

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus_1.16.2.bb