-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ECUSoftwareVersionFileField option to dlt.conf (#554)
Modify dlt_daemon_local_ecu_version_init() to read a single field from KEY=VALUE (or quoted KEY="VALUE") style files, so that dlt-daemon can report an OS version number parsed from /etc/os-release file. For example, get_software_version would return "22.04.3 LTS" under the following configuration: $ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION="22.04.3 LTS" VERSION_CODENAME=jammy $ cat /etc/dlt.conf PathToECUSoftwareVersion = /etc/os-release ECUSoftwareVersionFileField = VERSION Signed-off-by: Haris Okanovic <[email protected]> Co-authored-by: Haris Okanovic <[email protected]>
- Loading branch information
1 parent
6b2e57b
commit 7a55368
Showing
3 changed files
with
127 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters