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:
parent
453479e548
commit
e6b2ef0fbf
|
|
@ -1304,7 +1304,7 @@ def get_dey_version():
|
||||||
Returns:
|
Returns:
|
||||||
String: DEY version, "N/A" if it fails.
|
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:
|
if build_info == NOT_AVAILABLE:
|
||||||
return NOT_AVAILABLE
|
return NOT_AVAILABLE
|
||||||
for line in build_info.splitlines():
|
for line in build_info.splitlines():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue