Launch bluetooth-frwk service after multi-user.target in TM1 55/62655/1 accepted/tizen/mobile/20160318.114117 accepted/tizen/tv/20160318.114205 accepted/tizen/wearable/20160318.114247 submit/tizen_mobile/20160317.085503 submit/tizen_tv/20160317.085507 submit/tizen_wearable/20160317.085511
authorHyuk Lee <hyuk0512.lee@samsung.com>
Thu, 17 Mar 2016 08:45:24 +0000 (17:45 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Thu, 17 Mar 2016 08:45:24 +0000 (17:45 +0900)
Change-Id: I215cf08c1ba3177d7eb9a1fee156e107a4dc29dc
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
packaging/bluetooth-frwk-mobile-sprd.service [new file with mode: 0644]
packaging/bluetooth-frwk.spec

diff --git a/packaging/bluetooth-frwk-mobile-sprd.service b/packaging/bluetooth-frwk-mobile-sprd.service
new file mode 100644 (file)
index 0000000..d902ce5
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=Bluetooth service
+After=multi-user.target
+
+[Service]
+Type=dbus
+BusName=org.projectx.bt
+ExecStart=/usr/bin/bt-service
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target
index a435491..eebefa8 100644 (file)
@@ -123,7 +123,11 @@ export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 
 %if "%{?profile}" == "mobile"
 export CFLAGS="$CFLAGS -DTIZEN_NETWORK_TETHERING_ENABLE -DTIZEN_BT_FLIGHTMODE_ENABLED -DTIZEN_MOBILE -DTIZEN_TELEPHONY_ENABLED"
+%if "%{?tizen_target_name}" == "TM1"
+%define _servicefile packaging/bluetooth-frwk-mobile-sprd.service
+%else
 %define _servicefile packaging/bluetooth-frwk-mobile.service
+%endif
 %define _servicedir multi-user.target.wants
 %endif