Fix bluez-start.path file missing issue
[platform/core/connectivity/bluetooth-tools.git] / packaging / bluetooth-tools.spec
index 6facd2b..8953f8e 100644 (file)
@@ -108,6 +108,7 @@ install -D -m 0644 packaging/bluetooth-hci-dump@.service %{buildroot}%{_libdir}/
 
 %post
 mkdir -p %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
+mkdir -p %{_libdir}/systemd/system/multi-user.target.wants/
 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-hci-logger.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/