| commit | 3ea1e870cb2205633d74c32d2b520e71e68be501 | [log] [tgz] |
|---|---|---|
| author | selvaganapathim <selvaganapathim@ami.com> | Thu Sep 09 22:55:30 2021 +0530 |
| committer | Adriana Kobylak <anoo@linux.ibm.com> | Mon Sep 20 20:27:49 2021 +0000 |
| tree | b7134fbff1766e768449353ba3b3c73a152512f7 | |
| parent | f2cc64c666899b43e559be3167ed561989dbfc34 [diff] |
Image_manager:Remove temporary untar image dir
When trying to upload same version image, object path for version is not
created. So it should delete the "/tmp/images/imageXXXXXX" directory.
If trying to upload different version image, it should be renaming the
temp directory to image version ID and create the version object path.
Tested:
case1: Uploaded the same version functional state image.
case2: Uploaded the same version ready state image.
case3: Activate the image without reboot bmc, then uploaded
the same version active state image.
All the above cases failed to upload and image files
directory are not available in /tmp/images
Signed-off-by: Selvaganapathi M <selvaganapathim@ami.com>
Change-Id: I9809fa857c2345207581413024d0d80a813aa8f6
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 buildninja -C buildTo clean the repository run rm -r build.