History log of /openbmc/phosphor-ipmi-flash/cleanup/cleanup.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# b487eb47 16-Sep-2021 Willy Tu <wltu@google.com>

phosphor-ipmi-flash: Fix all C++ warnings

Change-Id: I89236b2dab88ca725e269bb8f5b2cbfd271e807a
Signed-off-by: Willy Tu <wltu@google.com>


# 2950c258 16-Jul-2020 Patrick Venture <venture@google.com>

cleanup: let the handler own the file system implementation

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


# 5084b701 16-Jul-2020 Patrick Venture <venture@google.com>

cleanup: drop inclusion of unused filesystem header

The filesystem header is included and referenced but never used.

This is a leftover from before the filesystem calls where handle

cleanup: drop inclusion of unused filesystem header

The filesystem header is included and referenced but never used.

This is a leftover from before the filesystem calls where handled
through an interface.

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

show more ...


# 9b37b095 28-May-2020 Patrick Venture <venture@google.com>

update gcc10 and clang-format10

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


# 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

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 ...