This patch does the following:
- Fixes percentage visualization for short upgrade images
- Resolves ambiguity for action record checksum calculation
- Skips the activation stage when all components are skipped
- Partially fixes formatting
- Adds several code optimizations
Ticket moved from /p/ipmitool/patches/73/
sigh SF.net got borked really bad since they've moved to the new design. I've already spent like 30 minutes trying to apply formatting to the text and it still looks like a crap and actually is borked.
Please, can you resync the patch? :\ And I have some questions too.
This doesn't look right, does it?
Why have you removed these definitions?
You've missed ``uploadCmd.req = NULL;'' here.
What exactly is the point of this change?
Last edit: Zdenek Styblik 2013-09-16
No comments on formatting, because hpmfwum needs clean up. So I'll let you off there this time :-P
Last edit: Zdenek Styblik 2013-09-16
Hello, Zdenek. Thanks for review. I will bring the patch up to date and answer to your comments as I get rid of my current tasks. It may take some time though.
Ok Dmitry, no worries.
Hello, Zdenek,
I have revised the patch and addressed your comments in the code.
The updated patch is attached. It solves many bug-fixes and adds some new funcionality.
The list of changes is placed in the changelog of the file and is a part of the patch.
Unfortunately, I'm not able to actively address comments any more, so, if they happen, it may take considerable time before I address them.
Regarding the comment about FORCE_MODE stuff. My patch slightly changes the user interface of the hpm upgrade command. Now, several "component x" parameters are allowed to select several components to upload in the multi-component image. If no "component x" is specified, all components are selected. The force parameter allows to bypass the component version check and forcefully upgrqade the components.
Regards,
Dmitry
Committed into CVS.