ItemUpdater: Store version id as string instead of int

The version id is a string hash, and sometimes when converted to
int, it's a bigger number than int can hold. Store the id as a
string instead as the version numbers are not necessarily in order
since it's a hash, not an increasing number sequence.

Change-Id: Iaaa92627d5a2b4548a653e8d974d1aa8ce80be3c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed
tree: dabf05ccbafa4bdca9cc9fbe4999e91adf97efcb
  1. test/
  2. .gitignore
  3. activation.hpp
  4. bootstrap.sh
  5. configure.ac
  6. generate-squashfs
  7. item_updater.cpp
  8. item_updater.hpp
  9. item_updater_main.cpp
  10. LICENSE
  11. Makefile.am
  12. README.md
  13. version_host_software_manager.cpp
  14. version_host_software_manager.hpp
  15. 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`.