From acddefa1a76b54666be2f051a5cd58f85de5bc27 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 19 Sep 2019 09:22:59 +0900 Subject: [PATCH] Remove the path activation files Change-Id: I033511d61c7b7feb7c4cff2d497ebe92d13a5fae Signed-off-by: DoHyun Pyun --- packaging/bluetooth-hci-down.path | 5 ----- packaging/bluetooth-hci-logger-stop.path | 5 ----- packaging/bluetooth-hci-logger.path | 5 ----- packaging/bluetooth-hci-up.path | 5 ----- packaging/bluetooth-rfkill-block.path | 5 ----- packaging/bluetooth-rfkill-unblock.path | 5 ----- packaging/bluetooth-stack-down-with-radio.path | 5 ----- packaging/bluetooth-stack-down.path | 5 ----- packaging/bluetooth-stack-up.path | 5 ----- packaging/bluetooth-tools.spec | 28 -------------------------- packaging/bluez-start.path | 5 ----- 11 files changed, 78 deletions(-) delete mode 100644 packaging/bluetooth-hci-down.path delete mode 100644 packaging/bluetooth-hci-logger-stop.path delete mode 100644 packaging/bluetooth-hci-logger.path delete mode 100644 packaging/bluetooth-hci-up.path delete mode 100644 packaging/bluetooth-rfkill-block.path delete mode 100644 packaging/bluetooth-rfkill-unblock.path delete mode 100644 packaging/bluetooth-stack-down-with-radio.path delete mode 100644 packaging/bluetooth-stack-down.path delete mode 100644 packaging/bluetooth-stack-up.path delete mode 100644 packaging/bluez-start.path diff --git a/packaging/bluetooth-hci-down.path b/packaging/bluetooth-hci-down.path deleted file mode 100644 index 9e64a75..0000000 --- a/packaging/bluetooth-hci-down.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "hciconfig hci0 down" - -[Path] -PathExists=/run/.hci_down diff --git a/packaging/bluetooth-hci-logger-stop.path b/packaging/bluetooth-hci-logger-stop.path deleted file mode 100644 index a0e221b..0000000 --- a/packaging/bluetooth-hci-logger-stop.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "bluetooth-hci-logger-stop" - -[Path] -PathExists=/run/.hci_logger_stop diff --git a/packaging/bluetooth-hci-logger.path b/packaging/bluetooth-hci-logger.path deleted file mode 100644 index 0136e39..0000000 --- a/packaging/bluetooth-hci-logger.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "bluetooth-hci-logger" - -[Path] -PathExists=/run/.hci_logger_start diff --git a/packaging/bluetooth-hci-up.path b/packaging/bluetooth-hci-up.path deleted file mode 100644 index 959ec0b..0000000 --- a/packaging/bluetooth-hci-up.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "hciconfig hci0 up" - -[Path] -PathExists=/run/.hci_up diff --git a/packaging/bluetooth-rfkill-block.path b/packaging/bluetooth-rfkill-block.path deleted file mode 100644 index 5cc7e93..0000000 --- a/packaging/bluetooth-rfkill-block.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for blocking bluetooth rfkill - -[Path] -PathExists=/run/.rfkill_block diff --git a/packaging/bluetooth-rfkill-unblock.path b/packaging/bluetooth-rfkill-unblock.path deleted file mode 100644 index a2ea6c2..0000000 --- a/packaging/bluetooth-rfkill-unblock.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for unblocking bluetooth rfkill - -[Path] -PathExists=/run/.rfkill_unblock diff --git a/packaging/bluetooth-stack-down-with-radio.path b/packaging/bluetooth-stack-down-with-radio.path deleted file mode 100644 index b9a8603..0000000 --- a/packaging/bluetooth-stack-down-with-radio.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "bluetooth-stack-down-with-radio.service" - -[Path] -PathExists=/run/.bt_stack_down_with_radio \ No newline at end of file diff --git a/packaging/bluetooth-stack-down.path b/packaging/bluetooth-stack-down.path deleted file mode 100644 index 0e2c46f..0000000 --- a/packaging/bluetooth-stack-down.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "bluetooth-stack-down.service" - -[Path] -PathExists=/run/.bt_stack_down \ No newline at end of file diff --git a/packaging/bluetooth-stack-up.path b/packaging/bluetooth-stack-up.path deleted file mode 100644 index 6377917..0000000 --- a/packaging/bluetooth-stack-up.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "bluetooth-stack-up.service" - -[Path] -PathExists=/run/.bt_stack_up diff --git a/packaging/bluetooth-tools.spec b/packaging/bluetooth-tools.spec index bfa8b7a..c38982b 100644 --- a/packaging/bluetooth-tools.spec +++ b/packaging/bluetooth-tools.spec @@ -91,44 +91,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/bluetooth-hci-logger.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-logger.service -#install -D -m 0644 packaging/bluetooth-hci-logger.path %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-logger.path - -#install -D -m 0644 packaging/bluetooth-hci-logger-stop.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-logger-stop.service -#install -D -m 0644 packaging/bluetooth-hci-logger-stop.path %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-logger-stop.path - install -D -m 0644 packaging/bluez-start.service %{buildroot}%{_libdir}/systemd/system/bluez-start.service -install -D -m 0644 packaging/bluez-start.path %{buildroot}%{_libdir}/systemd/system/bluez-start.path 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.path %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-up.path 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.path %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-down.path 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.path %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-down-with-radio.path #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-hci-up.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-up.service -install -D -m 0644 packaging/bluetooth-hci-up.path %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-up.path install -D -m 0644 packaging/bluetooth-hci-down.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-down.service -install -D -m 0644 packaging/bluetooth-hci-down.path %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-down.path 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 %post mkdir -p %{_libdir}/systemd/system/multi-user.target.wants/ -#ln -sf %{_libdir}/systemd/system/bluetooth-hci-logger.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-hci-logger.path -#ln -sf %{_libdir}/systemd/system/bluetooth-hci-logger-stop.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-hci-logger-stop.path -ln -sf %{_libdir}/systemd/system/bluez-start.path %{_libdir}/systemd/system/multi-user.target.wants/bluez-start.path -ln -sf %{_libdir}/systemd/system/bluetooth-stack-up.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-stack-up.path -ln -sf %{_libdir}/systemd/system/bluetooth-stack-down.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-stack-down.path -ln -sf %{_libdir}/systemd/system/bluetooth-hci-up.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-hci-up.path -ln -sf %{_libdir}/systemd/system/bluetooth-hci-down.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-hci-down.path %files %manifest %{name}.manifest @@ -146,21 +127,14 @@ ln -sf %{_libdir}/systemd/system/bluetooth-hci-down.path %{_libdir}/systemd/syst #%{_unitdir}/multi-user.target.wants/bluetooth-address.service #%{_unitdir}/bluetooth-address.service #%{_libdir}/systemd/system/bluetooth-hci-logger.service -#%{_libdir}/systemd/system/bluetooth-hci-logger.path #%{_libdir}/systemd/system/bluetooth-hci-logger-stop.service -#%{_libdir}/systemd/system/bluetooth-hci-logger-stop.path %{_libdir}/systemd/system/bluez-start.service -%{_libdir}/systemd/system/bluez-start.path #%{_libdir}/systemd/system/bluetooth-force-hci-logger.service #%{_libdir}/systemd/system/bluetooth-hci-dump@.service %{_libdir}/systemd/system/bluetooth-stack-up.service -%{_libdir}/systemd/system/bluetooth-stack-up.path %{_libdir}/systemd/system/bluetooth-stack-down.service -%{_libdir}/systemd/system/bluetooth-stack-down.path %{_libdir}/systemd/system/bluetooth-hci-up.service -%{_libdir}/systemd/system/bluetooth-hci-up.path %{_libdir}/systemd/system/bluetooth-hci-down.service -%{_libdir}/systemd/system/bluetooth-hci-down.path %post profile_common pushd %{_prefix}/etc/bluetooth/ @@ -197,7 +171,6 @@ ln -sf mobile/bt-stack-up.sh bt-stack-up.sh ln -sf mobile/bt-stack-down.sh bt-stack-down.sh ln -sf mobile/bt-stack-down-with-radio.sh bt-stack-down-with-radio.sh ln -sf mobile/bt-reset-env.sh bt-reset-env.sh -ln -sf %{_libdir}/systemd/system/bluetooth-stack-down-with-radio.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-stack-down-with-radio.path popd %preun profile_mobile pushd %{_prefix}/etc/bluetooth/ @@ -213,7 +186,6 @@ popd %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/bluetooth-stack-down-with-radio.path %post profile_ivi pushd %{_prefix}/etc/bluetooth/ diff --git a/packaging/bluez-start.path b/packaging/bluez-start.path deleted file mode 100644 index 2f63af9..0000000 --- a/packaging/bluez-start.path +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Path activation for the "bluez" - -[Path] -PathExists=/run/.bluez_start -- 2.7.4