Delete orphaned pnor read-write volumes.

We have seen many instances where the read-only volumes were
deleted but the read-write partitions were preserved. This
had causes subsequent PNOR updates to fail as the space on
PNOR chip was occupied by these orphaned rw volumes.

Resolves openbmc/openbmc#2376

Change-Id: Id0d750680e4e972ee991d95e8b00f4c6cc1fa72e
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
1 file changed
tree: c50777ff79cf4b62ec4be6800315dec875a4a471
  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`.