Item_updater:Restructure the sequence of delete interface.

- We are seeing several instances where the ubi volumes
  are deleted but not the persistence priority files.
- By moving the removal of persistence files at the start
  of the delete function we can be sure that the files gets
  delete before any ubi volume delete fails.

Resolves openbmc/openbmc#2160

Change-Id: Ic186e6060da542bc22160dcc2b97f13bfcd51a77
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
1 file changed
tree: 8a2390b44861246e6fca2aa79796e4e8505325aa
  1. m4/
  2. test/
  3. .gitignore
  4. activation.cpp
  5. activation.hpp
  6. bootstrap.sh
  7. configure.ac
  8. generate-squashfs
  9. item_updater.cpp
  10. item_updater.hpp
  11. item_updater_main.cpp
  12. LICENSE
  13. Makefile.am
  14. README.md
  15. serialize.cpp
  16. serialize.hpp
  17. version.cpp
  18. version.hpp
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.