Delete the pnor version that doesn't have a valid pnor.toc

- When a pnor ro volume is corrupted, it no longer has a valid
  pnor.toc. This had caused the Host.Updater service to core-dump.
  We need to delete corrupted volumes in order to prevent such
  versions from filling up the space on chip.

Resolves openbmc/openbmc#2359

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