ItemUpdater: Validate PNOR squashfs image

- Validate the image dir by checking its content.
- Set Activation to "Ready" if validation passed or
  else set it to "Invalid".

Resolves openbmc/openbmc#1356

Change-Id: Ica73ae5604e74db11cd58c223d82265309ea76a6
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
4 files changed
tree: 32be4f86e6b1d04b9fd41f598f15c6d43fa0a11b
  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. version_host_software_manager.cpp
  16. version_host_software_manager.hpp
  17. version_host_software_manager_main.cpp
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`.