Add a class to create FilePath DBus objects
bios-bmc-smm-error-logger creates JSON entries for CPER logs received
from BIOS. When a new CPER log is created, fault log service has to be
notified.
This adds the necessary classes for publishing file paths of the newly
created CPER logs to DBus.
Tested:
Tested this on a real machine.
Eg DBus objects:
`-/xyz
`-/xyz/openbmc_project
`-/xyz/openbmc_project/external_storer
`-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger
`-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger/CPER
|-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger/CPER/entry0
|-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger/CPER/entry1
Signed-off-by: Kasun Athukorala <kasunath@google.com>
Change-Id: I8c35243c949dfdc1254a758136d7a8e204f58bf5
diff --git a/src/rde/meson.build b/src/rde/meson.build
index c6831e2..1f13f18 100644
--- a/src/rde/meson.build
+++ b/src/rde/meson.build
@@ -1,14 +1,18 @@
-libbej_dep = dependency('libbej')
-
rde_pre = declare_dependency(
include_directories: [rde_inc],
- dependencies: [libbej_dep])
+ dependencies: [
+ dependency('libbej'),
+ dependency('phosphor-dbus-interfaces'),
+ dependency('sdbusplus'),
+ ]
+)
rde_lib = static_library(
'rde',
'rde_dictionary_manager.cpp',
'external_storer_file.cpp',
'rde_handler.cpp',
+ 'notifier_dbus_handler.cpp',
implicit_include_directories: false,
dependencies: rde_pre)