summaryrefslogtreecommitdiffstats
path: root/tools/handler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tools: remove stat() check for supported interfaceBenjamin Fair2019-11-151-22/+0
| | | | | | | | If an unsupported interface is requested, the open() call will simply fail. Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: Iefd11657d957931873a4d20246d9ccdd791ba0e5
* tools: Add ignoreUpdate parameterBrandon Kim2019-09-191-1/+8
| | | | | | | | | | | | | Adds ignoreUpdate flag to skip checking the update status and always return success instead. This is needed for platforms that use the reboot json and encounters an update failure due to IPMI going down during shutdown. Tested: Tried out an update with and without --ignore-update to verify that the flag ignores the update status and returns success. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ie20774f997229cd5ff8ae9082dc8a747079f9a2c
* tools: remove phosphor-ipmi-blobs dependencyPatrick Venture2019-06-271-6/+9
| | | | | | | | | | The host tool depended on the BMC header: firmware_handler.hpp because it defined the flags. This header depends on phosphor-ipmi-blobs, therefore the host-tool depends on this. Move the flags into a separate common header file and snip this dependency. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Id2ad33a1611c02605a1ed5c695429d0451eb98d4
* tools: bugfix: add missing close after failurePatrick Venture2019-06-201-1/+11
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Id873c41997e2617d1fa3db5767112c23d77c487c
* tools: split out the update handlerPatrick Venture2019-06-201-0/+177
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I367ea961c98ec822d3200d101c4f5977d77e7402
OpenPOWER on IntegriCloud