From: Avichal Date: Wed, 8 May 2019 13:08:46 +0000 (+0530) Subject: Adding sensord dbus policy X-Git-Tag: accepted/tizen/unified/20190530.043033^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fsystem%2Fsensord.git;a=commitdiff_plain;h=c1c0fb3f427cacda73c80bacb1ef5b9afd410a6e Adding sensord dbus policy Change-Id: I3192da5970a0e3089893b0b7e06a8c07cb207182 Signed-off-by: Avichal --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 45e0775..d8e4b05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,3 +29,6 @@ INSTALL( DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sensor FILES_MATCHING PATTERN "*.h" ) +INSTALL( + FILES sensor.conf DESTINATION /etc/dbus-1/system.d +) diff --git a/packaging/sensord.spec b/packaging/sensord.spec index 2cf492e..5448001 100644 --- a/packaging/sensord.spec +++ b/packaging/sensord.spec @@ -110,6 +110,7 @@ echo "You need to reinstall %{name}-dummy to keep using the APIs after uninstall %{_unitdir}/sensord.service %{_unitdir}/sensord.socket %{_unitdir}/multi-user.target.wants/sensord.service +%{_sysconfdir}/dbus-1/system.d/sensor.conf %{_unitdir}/sockets.target.wants/sensord.socket %license LICENSE.APLv2 diff --git a/sensor.conf b/sensor.conf new file mode 100644 index 0000000..efb4dcb --- /dev/null +++ b/sensor.conf @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + +