From 13b99b242a6e50fe69f92689e851feb14e68f285 Mon Sep 17 00:00:00 2001 From: Hyuk Lee Date: Thu, 19 Apr 2018 15:46:40 +0900 Subject: [PATCH] Add the bluez-start.path to ignore-units Change-Id: I3687449d2c7192d84f19653a6d8f2224cc7e7978 Signed-off-by: Hyuk Lee --- packaging/bluetooth-tools.spec | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/packaging/bluetooth-tools.spec b/packaging/bluetooth-tools.spec index 1f051b4..6facd2b 100644 --- a/packaging/bluetooth-tools.spec +++ b/packaging/bluetooth-tools.spec @@ -97,12 +97,6 @@ install -D -m 0644 packaging/bluetooth-hci-logger.path %{buildroot}%{_libdir}/sy 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/bluetooth-rfkill-unblock.service %{buildroot}%{_libdir}/systemd/system/bluetooth-rfkill-unblock.service -install -D -m 0644 packaging/bluetooth-rfkill-unblock.path %{buildroot}%{_libdir}/systemd/system/bluetooth-rfkill-unblock.path - -install -D -m 0644 packaging/bluetooth-rfkill-block.service %{buildroot}%{_libdir}/systemd/system/bluetooth-rfkill-block.service -install -D -m 0644 packaging/bluetooth-rfkill-block.path %{buildroot}%{_libdir}/systemd/system/bluetooth-rfkill-block.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 @@ -116,21 +110,19 @@ install -D -m 0644 packaging/bluetooth-hci-dump@.service %{buildroot}%{_libdir}/ mkdir -p %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ ln -sf %{_libdir}/systemd/system/bluetooth-hci-logger.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ 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-rfkill-unblock.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ -ln -sf %{_libdir}/systemd/system/bluetooth-rfkill-unblock.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-rfkill-unblock.path - -ln -sf %{_libdir}/systemd/system/bluetooth-rfkill-block.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ -ln -sf %{_libdir}/systemd/system/bluetooth-rfkill-block.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-rfkill-block.path +ln -sf %{_libdir}/systemd/system/bluetooth-hci-logger.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ ln -sf %{_libdir}/systemd/system/bluetooth-hci-logger-stop.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ 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/bluetooth-hci-logger-stop.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ ln -sf %{_libdir}/systemd/system/bluez-start.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ ln -sf %{_libdir}/systemd/system/bluez-start.path %{_libdir}/systemd/system/multi-user.target.wants/bluez-start.path +ln -sf %{_libdir}/systemd/system/bluez-start.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ ln -sf %{_libdir}/systemd/system/bluetooth-share-start.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ ln -sf %{_libdir}/systemd/system/bluetooth-share-start.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-share-start.path +ln -sf %{_libdir}/systemd/system/bluetooth-share-start.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ ln -sf %{_libdir}/systemd/system/bluetooth-force-hci-logger.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/ @@ -152,10 +144,6 @@ ln -sf %{_libdir}/systemd/system/bluetooth-force-hci-logger.service %{_sysconfdi #%{_unitdir}/bluetooth-address.service %{_libdir}/systemd/system/bluetooth-hci-logger.service %{_libdir}/systemd/system/bluetooth-hci-logger.path -%{_libdir}/systemd/system/bluetooth-rfkill-unblock.service -%{_libdir}/systemd/system/bluetooth-rfkill-unblock.path -%{_libdir}/systemd/system/bluetooth-rfkill-block.service -%{_libdir}/systemd/system/bluetooth-rfkill-block.path %{_libdir}/systemd/system/bluetooth-hci-logger-stop.service %{_libdir}/systemd/system/bluetooth-hci-logger-stop.path %{_libdir}/systemd/system/bluez-start.service -- 2.7.4