History log of /openbmc/phosphor-ipmi-flash/cleanup/fs.hpp (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 80748c33 16-Jul-2020 Patrick Venture <venture@google.com>

cleanup: drop default filesystem handler

Drop the default file system handler from the constructor and just pass
it in to the one place it's needed.

Signed-off-by: Patrick Venture <venture@google.c

cleanup: drop default filesystem handler

Drop the default file system handler from the constructor and just pass
it in to the one place it's needed.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I356adccbca583c20097e4e8977ce157ecd706f81

show more ...


Revision tags: v1.0
# 9efef5d9 19-Jun-2019 Patrick Venture <venture@google.com>

bmc: add cleanup blob handler

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 ope

bmc: add cleanup blob handler

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

show more ...