]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
dbus: add message-bus PACKAGECONFIG
authorRoss Burton <ross.burton@arm.com>
Tue, 5 Aug 2025 11:26:14 +0000 (12:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Aug 2025 09:43:42 +0000 (10:43 +0100)
commitdc674bf44fc757a4ffe7577a4d106ae729048013
tree4d66c2603a0980998b473a6b7af3cf2372c3179b
parenta296b0623eb23300751b8c571ad804884d1fbd4f
dbus: add message-bus PACKAGECONFIG

There's no need to build an actual message bus in native or nativesdk
environments, as if DBus is needed in those environments then it will be
used to connect to the existing session or system bus.

Add a PACKAGECONFIG for the message bus, and wrap the packaging logic
with a PACKAGECONFIG check.

Expat is only needed by the bus, so this reduces the mandatory build
dependencies in the native case.

This means we can merge the overridden do_install appends, as native and
nativesdk don't have the message bus enabled so they don't install
dbus-launch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
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