Add OS-Agent 1.4.1 support (#2157)

* Add OS-Agent 1.4.0 support

* Update OS-Agent 1.4.1
This commit is contained in:
Pascal Vizeli
2022-09-27 11:06:01 +02:00
committed by Stefan Agner
parent ad1befbe07
commit 371ab7520e
17 changed files with 27 additions and 3 deletions

View File

@@ -2,3 +2,12 @@ config BR2_PACKAGE_OS_AGENT
bool "Home Assistant OS Agent"
help
Install the Home Assistant OS Agent
if BR2_PACKAGE_OS_AGENT
config BR2_PACKAGE_OS_AGENT_BOARD
string "OS-Agent board"
help
OS Agent board feature which should be pull.
endif

View File

@@ -4,12 +4,12 @@
#
################################################################################
OS_AGENT_VERSION = 1.3.0
OS_AGENT_VERSION = 1.4.1
OS_AGENT_SITE = $(call github,home-assistant,os-agent,$(OS_AGENT_VERSION))
OS_AGENT_LICENSE = Apache License 2.0
OS_AGENT_LICENSE_FILES = LICENSE
OS_AGENT_GOMOD = github.com/home-assistant/os-agent
OS_AGENT_LDFLAGS = -X main.version=$(OS_AGENT_VERSION)
OS_AGENT_LDFLAGS = -X main.version=$(OS_AGENT_VERSION) -X main.board=$(BR2_PACKAGE_OS_AGENT_BOARD)
define OS_AGENT_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 $(@D)/contrib/io.hass.conf \