ensure volatile clear occurs after reset check

If the host reset target is running, ensure it completes before
executing the volatile PNOR cleaning service. This target is responsible
for detecting if the host is up and running. If the host is running and
the /run/openbmc/host@0-on file is created, then this service should not
run.

Tested:
Executed a bmc reset while the host was up and verified via the journal
that targets and services were executed as expected.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Idcb6e5d5f6a2ff95eff384f613969617127a35dc
1 file changed
tree: 4a676e759b5285bca68c42a894830cf1028acf12
  1. m4/
  2. static/
  3. test/
  4. ubi/
  5. vpnor/
  6. .clang-format
  7. .gitignore
  8. activation.cpp
  9. activation.hpp
  10. bootstrap.sh
  11. configure.ac
  12. generate-tar
  13. generate-ubi
  14. image_verify.cpp
  15. image_verify.hpp
  16. item_updater.cpp
  17. item_updater.hpp
  18. item_updater_main.cpp
  19. LICENSE
  20. MAINTAINERS
  21. Makefile.am
  22. msl_verify.cpp
  23. msl_verify.hpp
  24. msl_verify_main.cpp
  25. op-pnor-msl.service
  26. openpower-pnor-update@.service
  27. org.open_power.Software.Host.Updater.service
  28. README.md
  29. utils.cpp
  30. utils.hpp
  31. version.cpp
  32. version.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`.