Thread (14 messages) 14 messages, 3 authors, 2021-04-04

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

flat view

From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2021-03-30 20:31:17

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.
quoted hunk ↗ jump to hunk
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help