mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/mender: install dbus authentication file if dbus is selected
While not a requirement to run mender itself, the mender-connect package
requires this file to be installed to talk to mender.
Signed-off-by: Adam Duskett <Aduskett@rivian.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 948e2c3467)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
0f571b084f
commit
22ca8558a8
@@ -76,6 +76,14 @@ endef
|
||||
|
||||
MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_CONFIG_FILES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
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
|
||||
|
||||
define MENDER_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/mender-client.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/mender-client.service
|
||||
|
||||
Reference in New Issue
Block a user