package/mender: install additional inventory scripts
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>
(cherry picked from commit bbb4bc7dfa
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
175c0bb03d
commit
b6669b433d
@ -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)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user