Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve mender-inventory-provides's
device_type
extraction log…
…ic from the Mender configuration file - Add support for reading the paths from env variables `MENDER_CONF_DIR` and `MENDER_DATASTORE_DIR` when relocating the device_type file. - Implement configuration parsing to extract `DeviceTypeFile` from `mender.conf` despite its location. - Fallback to the default `device_type` file if `DeviceTypeFile` is not set or the extracted file path does not exist. Changelog: Fix inventory reporting of device_type to correctly select the file based on Mender configuration and Mender environment variables Ticket: None Signed-off-by: Luis Ramirez <[email protected]> Signed-off-by: Lluis Campos <[email protected]>
- Loading branch information