summaryrefslogtreecommitdiffstats
path: root/cleanup/test
Commit message (Collapse)AuthorAgeFilesLines
* bmc: add cleanup blob handlerPatrick Venture2019-06-193-0/+77
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