Dbus Based Gpio Event monitoring
This change provide the implementation for D-bus based Gpio Event monitoring.
For the platform not having direct GPIO access can use dbus based event
monitor by configuring dbus names in Json file. x86-power-control will monitor
the property change from the given DbusName and take appropriate action
Updated parsing logic of reading config values from json.
TESTED:Tested and verified in Tiogapass and YosemteV2. The existing functionality
is not broken after adding the JSON parser implementation in Tiogapass.
Signed-off-by: Priyatharshan P <priyatharshanp@hcl.com>
Change-Id: I480c62eccebf6d0a3c4609afaf24d55265d99602
diff --git a/power-control-x86/CMakeLists.txt b/power-control-x86/CMakeLists.txt
index ba06ed4..0216891 100644
--- a/power-control-x86/CMakeLists.txt
+++ b/power-control-x86/CMakeLists.txt
@@ -51,7 +51,7 @@
SERVICE_FILES
${PROJECT_SOURCE_DIR}/service_files/chassis-system-reset.service
${PROJECT_SOURCE_DIR}/service_files/chassis-system-reset.target
- ${PROJECT_SOURCE_DIR}/service_files/xyz.openbmc_project.Chassis.Control.Power.service
+ ${PROJECT_SOURCE_DIR}/service_files/xyz.openbmc_project.Chassis.Control.Power@.service
)
set(