From: Chengwei Yang Date: Fri, 1 Nov 2013 06:33:59 +0000 (+0800) Subject: Install .service files into dbus system service directory X-Git-Tag: accepted/tizen/20131101.181530^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0_ivi;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git Install .service files into dbus system service directory 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 --- diff --git a/hfp-agent/CMakeLists.txt b/hfp-agent/CMakeLists.txt index 4c47c31..f442ac2 100644 --- a/hfp-agent/CMakeLists.txt +++ b/hfp-agent/CMakeLists.txt @@ -28,4 +28,4 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_hfp_agent_LDFLAGS}) 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) diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index d0f4cba..ce9bd3d 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -39,6 +39,6 @@ rm -rf %{buildroot} %{_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 diff --git a/pb-agent/CMakeLists.txt b/pb-agent/CMakeLists.txt index 2f0b495..fa65204 100644 --- a/pb-agent/CMakeLists.txt +++ b/pb-agent/CMakeLists.txt @@ -27,4 +27,4 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_pb_agent_LDFLAGS}) 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)