PNOR: Store a redundant copy of the priority persistence file

In this commit, the priority persistence functionality is extended by
storing a second copy of each persistence file in the RW volume for its
version.

Upon a reboot, the corresponding restoration from file checks the second
location if necessary.

Resolves openbmc/openbmc#2133

Change-Id: Ie1926ad8500d49e7ec7cf71bd703664ac23c6a7a
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2 files changed
tree: b068f4a3909698310b7b74a6e8b627daa23dc77e
  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`.