Use sha512 to calcualte the versionID for images.

- We needed a hash algorithm that can be replicated on
  multiple platforms and across multiple programming languages.
- This would allow the user to calculate the versionID by
  executing the following command to obtain correct versionID.
  echo -n "<versionID>" | sha512sum | cut -b 1-8
- This is part of the change required for openbmc/openbmc#2323

Change-Id: I799a9a2b83fdf35beaf61b9df5ed69162f610d2f
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2 files changed
tree: 2a9ec3219ef08074f88bb4b4b112c8f3413dfa78
  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`.