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-08 19:57:40 +0200
commit59c1e1a653fc1684f1fb70ff05b6a65a74d7c682 (patch)
tree6d76ad454812812566b2685452af4826bbb09c55
parente04f34b70288e4c7f374db06448c60208a8e0265 (diff)
downloadautomotive-message-broker-59c1e1a653fc1684f1fb70ff05b6a65a74d7c682.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
+}