commit | 13e0991160ac73915b7dc1bd031fbf7424093cb0 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Mon Aug 31 13:55:10 2020 -0500 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Aug 31 14:45:00 2020 -0500 |
tree | 79b8dca6f3141ba1679b8ef238f94f1af87f8267 | |
parent | c31943e11b3e0fc440f34afcdf4498fe2bee9fff [diff] |
image_manager: Delete image dir if same version exists If the uploaded version already exists, no version D-Bus object is created, but the directory in /tmp/ with the image files remain even though there is no use for it, also there is no way for the user to delete it except rebooting the BMC. This takes up space and may cause subsequent uploads to fail with out-of-space. Delete it if the version already exists. Tested: Uploading the same image deletes the dir in /tmp. Change-Id: I9518f8132c18c2e7a20e330e8f894caa7bab6236 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.