sync_manager: Add callback to do rsync

Call rsync when the subscribed file or directory is modified or
deleted. Don't create error logs as syncing is used for backup
and does not affect the system's operation. Any errors will be
logged into the journal.

Closes openbmc/openbmc#2918

Change-Id: I2671f0afd2924c15ea883d4d037c641c6e9680b4
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
6 files changed
tree: 75c47f80674d3ca98dff29d1bbaa7bbeeba4b5ae
  1. org/
  2. test/
  3. xyz/
  4. .clang-format
  5. .gitignore
  6. activation.cpp
  7. activation.hpp
  8. bootstrap.sh
  9. configure.ac
  10. download_manager.cpp
  11. download_manager.hpp
  12. download_manager_main.cpp
  13. elog-errors.hpp
  14. image_manager.cpp
  15. image_manager.hpp
  16. image_manager_main.cpp
  17. image_verify.cpp
  18. image_verify.hpp
  19. item_updater.cpp
  20. item_updater.hpp
  21. item_updater_main.cpp
  22. LICENSE
  23. Makefile.am
  24. README.md
  25. serialize.cpp
  26. serialize.hpp
  27. sync_manager.cpp
  28. sync_manager.hpp
  29. sync_manager_main.cpp
  30. sync_watch.cpp
  31. sync_watch.hpp
  32. version.cpp
  33. version.hpp
  34. watch.cpp
  35. 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 clean the repository run `./bootstrap.sh clean`.