TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${service_pkgs_LDFLAGS})
ENDIF(LIBNOTIFY_SUPPORT)
-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/org.projectx.bt.service.in ${CMAKE_CURRENT_SOURCE_DIR}/org.projectx.bt.service)
+#CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/org.projectx.bt.service.in ${CMAKE_CURRENT_SOURCE_DIR}/org.projectx.bt.service)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.projectx.bt.service DESTINATION share/dbus-1/system-services)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
- <policy group="@TZ_SYS_USER_GROUP@">
+ <policy group="system">
<allow own="org.projectx.bt"/>
<allow own="org.projectx.bt_event"/>
<allow send_type="method_call"/>
[D-BUS Service]
Name=org.projectx.bt
Exec=/bin/false
-User=guest
+User=system
+Group=system
SystemdService=bluetooth-frwk.service
+++ /dev/null
-[D-BUS Service]
-Name=org.projectx.bt
-Exec=/bin/sh -c 'export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/dbus/user_bus_socket; exec /usr/bin/bt-service'
-User=guest
BusName=org.projectx.bt
ExecStart=/usr/bin/bt-service
KillMode=process
+User=system
+Group=system
[Install]
WantedBy=multi-user.target
Name: bluetooth-frwk
Summary: Bluetooth framework for BlueZ and Obexd. This package is Bluetooth framework based on BlueZ and Obexd stack.
-Version: 0.2.150
+Version: 0.2.151
Release: 1
Group: Network & Connectivity/Bluetooth
License: Apache-2.0
BuildRequires: pkgconfig(libprivilege-control)
BuildRequires: pkgconfig(cynara-client)
BuildRequires: pkgconfig(cynara-creds-gdbus)
+BuildRequires: pkgconfig(libtzplatform-config)
Requires(post): /usr/bin/vconftool
Requires(post): /sbin/ldconfig