ItemUpdater: Create dbus object with version id

Use the same version id as the version manager. For that
query the object paths using the mapper and determine if
an item updater object has already been created.

Note: The mapper currently return the BMC version as well
since the interface is the same. To avoid this, a Host-only
interface can be used once those are added, and also
an association once the association work is finalized.

Closes: openbmc/openbmc#1277

Change-Id: I66711ac92a28b7f7ed37006ad6f40de86be1e54c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed
tree: 81c25df8ba8864870b17d5c3cffdc0cad2027b50
  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`.