fix(inspur): strip iBMC firmware build-timestamp suffix
A second NF5280M6 BMC-dump/live-CD pair showed RESTful version info
firmware versions carrying a build stamp ("08.05.01 (02/21/2024
16:51:27)") the live-CD does not, which churns a FIRMWARE_CHANGED event
on every source switch. cleanFirmwareVersion strips a trailing " (...)"
so BIOS/BMC match the bare live-CD version. See ADL-064 amendment.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011LffAvostt3uMkiUbVUiyM
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
2fa0f78f94
commit
8278c77d98
@@ -1836,3 +1836,11 @@ combined-`component.log` onekeylog layout (classic `onekeylog/` root, has
|
||||
- Tests: `TestParseComponentLogFRU_BoardIdentityAndUUID`,
|
||||
`TestParseComponentLogFRU_AbsentSection`,
|
||||
`TestParseComponentLogSensors_FloatFansPower`.
|
||||
|
||||
**Amendment (2026-09-01):** a second NF5280M6 pair showed iBMC `RESTful
|
||||
version info` firmware versions carry a build-timestamp suffix
|
||||
(`08.05.01 (02/21/2024 16:51:27)`) that the live-CD does not, churning a
|
||||
FIRMWARE_CHANGED event per import. `cleanFirmwareVersion` now strips a trailing
|
||||
` (...)` from those entries (BIOS then matches the live-CD exactly; BMC
|
||||
`7.11.02` vs the live-CD's IPMI-truncated `7.11` is inherent and left as-is).
|
||||
Test `TestExtractComponentFirmware_StripsBuildStamp`.
|
||||
|
||||
Reference in New Issue
Block a user