connectcore-demo-example: fix build info filename from "build" to "buildinfo"

Commit 99f1425340 ("image-buildinfo: Improve and extend to SDK coverage too")
in the Poky layer changes the name of the default build information file from
"build" to "buildinfo", so this commit reflects this change by adapting the
path to obtain the build information.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2025-04-29 16:53:10 +02:00
parent 453479e548
commit e6b2ef0fbf
1 changed files with 1 additions and 1 deletions

View File

@ -1304,7 +1304,7 @@ def get_dey_version():
Returns:
String: DEY version, "N/A" if it fails.
"""
build_info = read_file("/etc/build")
build_info = read_file("/etc/buildinfo")
if build_info == NOT_AVAILABLE:
return NOT_AVAILABLE
for line in build_info.splitlines():