Remove the bluez service file 68/175168/1
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 9 Apr 2018 06:32:05 +0000 (15:32 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 9 Apr 2018 06:32:05 +0000 (15:32 +0900)
We changed the bluez's UID/GID to network_fw.
Daemon will be launched by bluez-start.service in bluetooth-tools.

Change-Id: I48b83b5647ac4665e90d08539aa54cba8593f7f4
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
packaging/bluez.spec

index bdbd312..d68e5c7 100755 (executable)
@@ -358,7 +358,7 @@ install --mode 0755 -d $RPM_BUILD_ROOT/var/lib/bluetooth
 install -D -m 0644 src/main_w.conf %{buildroot}%{_sysconfdir}/bluetooth/main.conf.wearable
 install -D -m 0644 src/main_m.conf %{buildroot}%{_sysconfdir}/bluetooth/main.conf
 
-install -D -m 0644 src/org.bluez.service %{buildroot}%{_datadir}/dbus-1/system-services/org.bluez.service
+#install -D -m 0644 src/org.bluez.service %{buildroot}%{_datadir}/dbus-1/system-services/org.bluez.service
 
 install -D -m 0644 src/bluetooth.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/bluetooth.conf
 #install -D -m 0644 profiles/audio/audio.conf %{buildroot}%{_sysconfdir}/bluetooth/audio.conf
@@ -393,8 +393,8 @@ ln -sf ../bluetooth.service %{buildroot}%{_libpath}/systemd/system/multi-user.ta
 mkdir -p %{buildroot}%{upgrade_script_path}
 cp -f packaging/500.bluez_upgrade.sh %{buildroot}%{upgrade_script_path}
 
-%post
-ln -sf %{_libdir}/systemd/system/bluetooth.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
+#%post
+#ln -sf %{_libdir}/systemd/system/bluetooth.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
 
 %post -n libbluetooth -p /sbin/ldconfig
 
@@ -515,9 +515,6 @@ rm %{_sysconfdir}/bluetooth/main.conf
 %files profile_wearable
 %manifest %{name}.manifest
 %{_sysconfdir}/bluetooth/main.conf.wearable
-%{_libpath}/systemd/system/bluetooth.service
-%{_libpath}/systemd/system/multi-user.target.wants/bluetooth.service
-%{_datadir}/dbus-1/system-services/org.bluez.service
 
 %files profile_tv
 %manifest %{name}.manifest
@@ -530,9 +527,6 @@ rm %{_sysconfdir}/bluetooth/main.conf
 %files profile_common
 %manifest %{name}.manifest
 %{_sysconfdir}/bluetooth/main.conf
-%{_libpath}/systemd/system/bluetooth.service
-%{_libpath}/systemd/system/multi-user.target.wants/bluetooth.service
-%{_datadir}/dbus-1/system-services/org.bluez.service
 
 
 %changelog