2
0
mirror of https://opendev.org/x/pyghmi synced 2026-04-01 07:43:39 +00:00

Merge "Fix SMM build id"

This commit is contained in:
Zuul
2021-06-02 20:43:27 +00:00
committed by Gerrit Code Review

View File

@@ -329,7 +329,7 @@ def get_fpc_firmware(bmcver, ipmicmd, fpcorsmm):
else:
name = 'SMM'
buildid = '{0}{1}{2}{3}{4}{5}{6}'.format(
*[chr(x) for x in builddata[-7:]])
*[chr(x) for x in builddata[6:13]])
elif len(builddata) == 8:
builddata = builddata[1:] # discard the 'completion code'
name = 'FPC'