Update version parsing
Update parser to match latest version string
Test:
ipmitool mc info
Device ID : 35
Device Revision : 0
Firmware Revision : 0.05
IPMI Version : 2.0
Manufacturer ID : 343
Manufacturer Name : Unknown (0x157)
Product ID : 123 (0x007b)
Product Name : Unknown (0x7B)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
...
Aux Firmware Rev Info :
0x1b
0xbc
0x4f
0x7c
root@intel-obmc:~# cat /etc/os-release
ID="openbmc-phosphor"
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="wht.0-5"
VERSION_ID="wht-0.5-27-gbc4f7c-064059a"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) wht.0-5"
BUILD_ID="Wht-0.5"
OPENBMC_TARGET_MACHINE="intel-ast2500"
OPENBMC_VERSION="Wht-0.5-0-g064059ad2"
IPMI_MAJOR="0"
IPMI_MINOR="5"
IPMI_AUX13="0x1b"
IPMI_AUX14="0xbc"
IPMI_AUX15="0x4f"
IPMI_AUX16="0x7c"
Change-Id: I547e50bcf2f257c7d5c0495b428398df26a30e7a
Signed-off-by: Jia, chunhui <chunhui.jia@linux.intel.com>
1 file changed