Modify the service file path for 64bit target 67/236967/1 accepted/tizen/unified/20200624.130144 submit/tizen/20200624.003546
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 23 Jun 2020 22:29:38 +0000 (07:29 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 23 Jun 2020 22:29:38 +0000 (07:29 +0900)
Change-Id: Iab9e5d51614c066de5963107ab161520db802509
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-tools.spec

index cbb4842..e0551bc 100644 (file)
@@ -90,25 +90,25 @@ mkdir -p %{buildroot}/run/bluetooth
 install -m 0755 scripts/bt-dev-start.sh %{buildroot}%{_prefix}/etc/bluetooth/bt-dev-start.sh
 install -m 0755 scripts/bt-dev-end.sh %{buildroot}%{_prefix}/etc/bluetooth/bt-dev-end.sh
 
-install -D -m 0644 packaging/bluez-start.service %{buildroot}%{_libdir}/systemd/system/bluez-start.service
+install -D -m 0644 packaging/bluez-start.service %{buildroot}%{_unitdir}/bluez-start.service
 
-install -D -m 0644 packaging/bluetooth-stack-up.service %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-up.service
+install -D -m 0644 packaging/bluetooth-stack-up.service %{buildroot}%{_unitdir}/bluetooth-stack-up.service
 
-install -D -m 0644 packaging/bluetooth-stack-down.service %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-down.service
+install -D -m 0644 packaging/bluetooth-stack-down.service %{buildroot}%{_unitdir}/bluetooth-stack-down.service
 
-install -D -m 0644 packaging/bluetooth-stack-down-with-radio.service %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-down-with-radio.service
+install -D -m 0644 packaging/bluetooth-stack-down-with-radio.service %{buildroot}%{_unitdir}/bluetooth-stack-down-with-radio.service
 
-#install -D -m 0644 packaging/bluetooth-force-hci-logger.service %{buildroot}%{_libdir}/systemd/system/bluetooth-force-hci-logger.service
-#install -D -m 0644 packaging/bluetooth-hci-dump@.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-dump@.service
+#install -D -m 0644 packaging/bluetooth-force-hci-logger.service %{buildroot}%{_unitdir}/bluetooth-force-hci-logger.service
+#install -D -m 0644 packaging/bluetooth-hci-dump@.service %{buildroot}%{_unitdir}/bluetooth-hci-dump@.service
 
-install -D -m 0644 packaging/bluetooth-hci-up.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-up.service
-install -D -m 0644 packaging/bluetooth-hci-down.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-down.service
+install -D -m 0644 packaging/bluetooth-hci-up.service %{buildroot}%{_unitdir}/bluetooth-hci-up.service
+install -D -m 0644 packaging/bluetooth-hci-down.service %{buildroot}%{_unitdir}/bluetooth-hci-down.service
 
-install -D -m 0644 packaging/bluetooth-stack-up-common.service %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-up-common.service
-install -D -m 0644 packaging/bluetooth-stack-down-common.service %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-down-common.service
+install -D -m 0644 packaging/bluetooth-stack-up-common.service %{buildroot}%{_unitdir}/bluetooth-stack-up-common.service
+install -D -m 0644 packaging/bluetooth-stack-down-common.service %{buildroot}%{_unitdir}/bluetooth-stack-down-common.service
 
 %post
-mkdir -p %{_libdir}/systemd/system/multi-user.target.wants/
+mkdir -p %{_unitdir}/multi-user.target.wants/
 
 %files
 %manifest %{name}.manifest
@@ -145,11 +145,11 @@ popd
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/common/bt-stack-up.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/common/bt-stack-down.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/common/bt-reset-env.sh
-%{_libdir}/systemd/system/bluetooth-stack-up-common.service
-%{_libdir}/systemd/system/bluetooth-stack-down-common.service
-%{_libdir}/systemd/system/bluez-start.service
-%{_libdir}/systemd/system/bluetooth-hci-up.service
-%{_libdir}/systemd/system/bluetooth-hci-down.service
+%{_unitdir}/bluetooth-stack-up-common.service
+%{_unitdir}/bluetooth-stack-down-common.service
+%{_unitdir}/bluez-start.service
+%{_unitdir}/bluetooth-hci-up.service
+%{_unitdir}/bluetooth-hci-down.service
 
 %post profile_mobile
 pushd %{_prefix}/etc/bluetooth/
@@ -171,12 +171,12 @@ popd
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/mobile/bt-stack-down.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/mobile/bt-reset-env.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/mobile/bt-stack-down-with-radio.sh
-%{_libdir}/systemd/system/bluetooth-stack-down-with-radio.service
-%{_libdir}/systemd/system/bluez-start.service
-%{_libdir}/systemd/system/bluetooth-stack-up.service
-%{_libdir}/systemd/system/bluetooth-stack-down.service
-%{_libdir}/systemd/system/bluetooth-hci-up.service
-%{_libdir}/systemd/system/bluetooth-hci-down.service
+%{_unitdir}/bluetooth-stack-down-with-radio.service
+%{_unitdir}/bluez-start.service
+%{_unitdir}/bluetooth-stack-up.service
+%{_unitdir}/bluetooth-stack-down.service
+%{_unitdir}/bluetooth-hci-up.service
+%{_unitdir}/bluetooth-hci-down.service
 
 %post profile_ivi
 pushd %{_prefix}/etc/bluetooth/
@@ -195,11 +195,11 @@ popd
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/ivi/bt-stack-up.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/ivi/bt-stack-down.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/ivi/bt-reset-env.sh
-%{_libdir}/systemd/system/bluez-start.service
-%{_libdir}/systemd/system/bluetooth-stack-up.service
-%{_libdir}/systemd/system/bluetooth-stack-down.service
-%{_libdir}/systemd/system/bluetooth-hci-up.service
-%{_libdir}/systemd/system/bluetooth-hci-down.service
+%{_unitdir}/bluez-start.service
+%{_unitdir}/bluetooth-stack-up.service
+%{_unitdir}/bluetooth-stack-down.service
+%{_unitdir}/bluetooth-hci-up.service
+%{_unitdir}/bluetooth-hci-down.service
 
 %post profile_wearable
 pushd %{_prefix}/etc/bluetooth/
@@ -218,11 +218,11 @@ popd
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/wearable/bt-stack-up.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/wearable/bt-stack-down.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/wearable/bt-reset-env.sh
-%{_libdir}/systemd/system/bluez-start.service
-%{_libdir}/systemd/system/bluetooth-stack-up.service
-%{_libdir}/systemd/system/bluetooth-stack-down.service
-%{_libdir}/systemd/system/bluetooth-hci-up.service
-%{_libdir}/systemd/system/bluetooth-hci-down.service
+%{_unitdir}/bluez-start.service
+%{_unitdir}/bluetooth-stack-up.service
+%{_unitdir}/bluetooth-stack-down.service
+%{_unitdir}/bluetooth-hci-up.service
+%{_unitdir}/bluetooth-hci-down.service
 
 %files no-firmware
 %manifest %{name}.manifest
@@ -230,9 +230,9 @@ popd
 %defattr(-, root, root)
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start.sh
-%{_libdir}/systemd/system/bluez-start.service
-%{_libdir}/systemd/system/bluetooth-stack-up.service
-%{_libdir}/systemd/system/bluetooth-stack-down.service
-%{_libdir}/systemd/system/bluetooth-hci-up.service
-%{_libdir}/systemd/system/bluetooth-hci-down.service
+%{_unitdir}/bluez-start.service
+%{_unitdir}/bluetooth-stack-up.service
+%{_unitdir}/bluetooth-stack-down.service
+%{_unitdir}/bluetooth-hci-up.service
+%{_unitdir}/bluetooth-hci-down.service