pb_agent and hfp_agent provide system wide dbus services, so install
their .service files into dbus system service directory.
Bug: https://bugs.tizen.org/jira/browse/PTREL-124
Change-Id: Icf3d67dd033ebed7b8ebacb10542fb20e2f8246b
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.bluez.hfp_agent.service
- DESTINATION share/dbus-1/services)
+ DESTINATION share/dbus-1/system-services)
%{_bindir}/bluetooth-map-agent
%{_bindir}/bluetooth-pb-agent
%{_bindir}/bluetooth-hfp-agent
-%{_datadir}/dbus-1/services/org.bluez.pb_agent.service
+%{_datadir}/dbus-1/system-services/org.bluez.pb_agent.service
%{_datadir}/dbus-1/services/org.bluez.map_agent.service
-%{_datadir}/dbus-1/services/org.bluez.hfp_agent.service
+%{_datadir}/dbus-1/system-services/org.bluez.hfp_agent.service
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.bluez.pb_agent.service
- DESTINATION share/dbus-1/services)
+ DESTINATION share/dbus-1/system-services)