summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Delbeke <olivier.delbeke@gmail.com>2015-04-08 19:57:40 +0200
committerOlivier Delbeke <olivier.delbeke@gmail.com>2015-04-15 20:16:02 +0200
commitfde2d69782a5b99b35ec0a92815383814fe7d279 (patch)
tree76e13fd3110f2c9637ed6a8a4d741a750138c785
parent27c56f72c9e6a17e5cc23f4e86e2d3f92215a13e (diff)
downloadautomotive-message-broker-fde2d69782a5b99b35ec0a92815383814fe7d279.tar.gz
Added missing plugin fragment for chrony
-rw-r--r--plugins/chrony/CMakeLists.txt3
-rw-r--r--plugins/chrony/chrony.in.json5
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/chrony/CMakeLists.txt b/plugins/chrony/CMakeLists.txt
index a66a1965..5a666284 100644
--- a/plugins/chrony/CMakeLists.txt
+++ b/plugins/chrony/CMakeLists.txt
@@ -13,4 +13,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/README ${CMAKE_CURRENT_BINARY_DIR}/ch
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/chrony.README DESTINATION ${DOC_INSTALL_DIR}/plugins)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/chrony.in.json ${CMAKE_CURRENT_BINARY_DIR}/chrony @ONLY)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/chrony DESTINATION ${PLUGIN_SEGMENT_INSTALL_PATH})
+
endif(chrony_plugin)
diff --git a/plugins/chrony/chrony.in.json b/plugins/chrony/chrony.in.json
new file mode 100644
index 00000000..8bd53518
--- /dev/null
+++ b/plugins/chrony/chrony.in.json
@@ -0,0 +1,5 @@
+{
+ "name" : "Chrony plugin",
+ "path" : "@PLUGIN_INSTALL_PATH@/chrony.so",
+ "enabled" : true
+}