deleteAll: Delete functional version if chassis off

The deleteAll function was skipping to delete the functional
version, which should be allowed if the chassis state is not on.
The erase function already supports that so the user can
individually delete the functional version, just the delete
would not work via the DeleteAll call.

Tested: All PNOR versions, including the functional one, get
deleted at chassis power off via the DeleteAll method.

Change-Id: Ib390545f3ade68e2a3182064549e05994e7f7191
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 9b65e110d1d541125620351c7cd623473e66b3d8
  1. m4/
  2. org/
  3. test/
  4. .clang-format
  5. .gitignore
  6. activation.cpp
  7. activation.hpp
  8. bootstrap.sh
  9. configure.ac
  10. generate-squashfs
  11. generate-ubi
  12. image_verify.cpp
  13. image_verify.hpp
  14. item_updater.cpp
  15. item_updater.hpp
  16. item_updater_main.cpp
  17. LICENSE
  18. MAINTAINERS
  19. Makefile.am
  20. README.md
  21. serialize.cpp
  22. serialize.hpp
  23. version.cpp
  24. version.hpp
  25. watch.cpp
  26. watch.hpp
README.md

openpower-pnor-code-mgmt

OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update

To Build

To build this package, do the following steps:

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

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