package/mender: install additional inventory scripts
authorMirza Krak <mirza.krak@northern.tech>
Tue, 14 May 2019 09:04:50 +0000 (11:04 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 28 May 2019 21:06:23 +0000 (23:06 +0200)
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@northern.tech>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/mender/mender.mk

index 07f6e5e5f9dccd4c9bb6cdd16954d99f03cb86d1..d56b634713d7093a58be83a48d35dc2d973792ef 100644 (file)
@@ -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)
        )