[Buildroot] [PATCH] package/mender: add nodbus to tags if dbus is not selected

Adam Duskett aduskett at gmail.com
Thu Apr 1 16:38:36 UTC 2021


Hey Thomas;

It looks like passing nodbus disables building the following files:
./dbus/dbus_libgio_helpers.go
./dbus/error.go
./dbus/dbus_libgio_test.go
./dbus/dbus_libgio.go
./dbus/dbus_test.go
./dbus/error_test.go

It also looks like if dbus isn't found, config.DBus.Enabled is set
to false in config.go. Although it's probably better to err on the
side of caution and follow the README.md's instructions yeah?

Adam

On Thu, Apr 1, 2021 at 8:59 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> On Thu,  1 Apr 2021 08:44:53 -0700
> Adam Duskett <aduskett at gmail.com> wrote:
>
> > The README.md file suggests passing "nodbus" as a tag if dbus is not selected.
> >
> > Signed-off-by: Adam Duskett <aduskett at gmail.com>
>
> Interesting. What does it do, if D-Bus is not a build dependency, what
> there is to enable/disable within the Mender code base?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com



More information about the buildroot mailing list