[Buildroot] [git commit branch/2019.02.x] package/mender: install additional inventory scripts

Peter Korsgaard peter at korsgaard.com
Thu Jun 6 15:26:28 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=b6669b433d0720167163ab1795d15ebf8a5f51c7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

There are two additional inventory scripts provided in
the Mender client repository, let's install them.

- mender-inventory-os
    - will push content of /etc/os-release
- mender-inventory-rootfs-type
    - will push filesystem type of rootfs

Signed-off-by: Mirza Krak <mirza.krak at northern.tech>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit bbb4bc7dfacb205c3f87f63e5e762a5f82d92f55)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/mender/mender.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mender/mender.mk b/package/mender/mender.mk
index 07f6e5e5f9..d56b634713 100644
--- a/package/mender/mender.mk
+++ b/package/mender/mender.mk
@@ -46,7 +46,7 @@ define MENDER_INSTALL_CONFIG_FILES
 
 	$(INSTALL) -D -m 0755 $(@D)/support/mender-device-identity \
 		$(TARGET_DIR)/usr/share/mender/identity/mender-device-identity
-	$(foreach f,hostinfo network, \
+	$(foreach f,hostinfo network os rootfs-type, \
 		$(INSTALL) -D -m 0755 $(@D)/support/mender-inventory-$(f) \
 			$(TARGET_DIR)/usr/share/mender/inventory/mender-inventory-$(f)
 	)



More information about the buildroot mailing list