mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID: 70 - Fixes and updates for ipmitool hpm
Fixed a bug where the rolling percentage display could corrupt the version line if the first call to HpmDisplayUpgrade resulted in a non-zero percentage. This was produced by performing: ipmitool hpm upgrade hpm1fru.img where hpm1fru.img is a small (820 byte) file. We now call HpmDisplayUpgrade before we transfer any data to ensure that we get 0% printed before the transfer starts. Commit for Dan Gora
This commit is contained in:
parent
3bd53a2f78
commit
22e38bc46f
@ -2270,6 +2270,7 @@ static int HpmFwupgActionUploadFirmware
|
||||
|
||||
if(!skip)
|
||||
{
|
||||
HpmDisplayUpgrade(0,0,1,0);
|
||||
/* Initialize parameters */
|
||||
uploadCmd.req.blockNumber = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user