Read channel configuration from JSON file
Read channel information from /usr/share/ipmbbridge/ipmb-channels.json
allowing platforms to override this information.
Signed-off-by: Amithash Prasad <amithash@fb.com>
Change-Id: I161cf72840ff211c270fe56a86e6d3ebd65f170c
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 107f041..80377f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,6 +40,8 @@
link_directories (${EXTERNAL_INSTALL_LOCATION}/lib)
set (SERVICE_FILES ${PROJECT_SOURCE_DIR}/ipmb.service)
+set (CONFIG_FILES ${PROJECT_SOURCE_DIR}/ipmb-channels.json)
install (TARGETS ${PROJECT_NAME} DESTINATION bin)
install (FILES ${SERVICE_FILES} DESTINATION /lib/systemd/system/)
+install (FILES ${CONFIG_FILES} DESTINATION /usr/share/ipmbbridge/)