summaryrefslogtreecommitdiffstats
path: root/cleanup
Commit message (Collapse)AuthorAgeFilesLines
* bmc : add config-static-bmc-with-update-status.json.inBrandon Kim2019-09-171-3/+3
| | | | | | | | Add a default json file with update status (file path defined with UPDATE_STATUS_FILENAME) enabled with --enable-update-status flag. Change-Id: I62d3b547d91840451906e26cbec55dfa74934b5e Signed-off-by: Brandon Kim <brandonkim@google.com>
* bmc: add cleanup blob handlerPatrick Venture2019-06-199-0/+366
Add a cleanup blob handler, such that there is a new blob id present named "/flash/cleanup" that will delete temporary files. This blob handler expects a client to open/commit/close the blob. This blob handler will delete files that are specified as temporary. The host client may use this to clean up artifacts on verification or update failure. This can be extended later to handle calling a service or doing anything else to cleanup. The cleanup handler will be added if --enable-cleanup-delete. The recipe will automatically add this blob handler if that configure variable is set. Tested: Not tested on real hardware. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I4502b2613e38f0a947d7235d084287376c6b0ce1
OpenPOWER on IntegriCloud