BMC: Call emit_interfaces signal for temporary interfaces

When an interface is removed, all the interfaces on that dbus
object are removed because the object class calls object_removed.
The code will be enhanced to handle the removal of interfaces with
openbmc/openbmc#1975 .

In the mean time, for interfaces that are temporary and removed
in the course of the code update flow, do not call emit_object_added
and call emit_interfaces_added and removed when they are created
and destroyed.

Resolves openbmc/openbmc#2096

Change-Id: I2d022e77015b84e2900b2392d4ac97da02478cdf
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
1 file changed
tree: 40fc188a825b4e4a8562feea1a0310c146af8224
  1. test/
  2. xyz/
  3. .gitignore
  4. activation.cpp
  5. activation.hpp
  6. bootstrap.sh
  7. configure.ac
  8. download_manager.cpp
  9. download_manager.hpp
  10. download_manager_main.cpp
  11. elog-errors.hpp
  12. image_manager.cpp
  13. image_manager.hpp
  14. image_manager_main.cpp
  15. item_updater.cpp
  16. item_updater.hpp
  17. item_updater_main.cpp
  18. LICENSE
  19. Makefile.am
  20. README.md
  21. version.cpp
  22. version.hpp
  23. watch.cpp
  24. watch.hpp
README.md

phosphor-bmc-code-mgmt

Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture

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`.