[Buildroot] [PATCH 4/4] package/mender: install dbus authentication file if dbus is selected

Adam Duskett aduskett at gmail.com
Wed Mar 31 00:09:30 UTC 2021


Hello Thomas!

On Tue, Mar 30, 2021 at 1:31 PM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> Hello Adam,
>
> On Sat, 20 Mar 2021 15:28:35 -0700
> aduskett at gmail.com wrote:
>
> > +ifeq ($(BR2_PACKAGE_DBUS),y)
> > +MENDER_DEPENDENCIES += dbus
>
> Do we really need DBus to be built/installed before ? It seems like the
> hook below only installs an extra DBus configuration file.
>
It isn't actually. I can resubmit the patch with just the $(INSTALL)
if you want me to!

Adam
> > +define MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF
> > +     $(INSTALL) -D -m 0755 $(@D)/support/dbus/io.mender.AuthenticationManager.conf \
> > +                   $(TARGET_DIR)/etc/dbus-1/system.d/io.mender.AuthenticationManager.conf
> > +endef
> > +MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF
> > +endif
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com


More information about the buildroot mailing list