Commit 32997d58 authored by Philippe De Swert's avatar Philippe De Swert

[systemd] Add systemd tmpfiles.d hack

Add systemd tmpfiles.d hack.
Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
parent 6611d4c4
......@@ -320,6 +320,7 @@ install -m 644 -D systemd/usb-moded-args.conf %{buildroot}/var/lib/environment/u
install -m 755 -D systemd/turn-usb-rescue-mode-off %{buildroot}/%{_bindir}/turn-usb-rescue-mode-off
install -m 644 -D systemd/usb-rescue-mode-off.service %{buildroot}/lib/systemd/system/usb-rescue-mode-off.service
install -m 644 -D systemd/usb-rescue-mode-off.service %{buildroot}/lib/systemd/system/graphical.target.wants/usb-rescue-mode-off.service
install -m 644 -D systemd/usb-moded.conf %{_sysconfig}/tmpfiles.d/usb-moded.conf
%preun
......@@ -343,6 +344,7 @@ systemctl daemon-reload || :
%{_mandir}/man1/usb-moded.1.gz
/lib/systemd/system/%{name}.service
/lib/systemd/system/basic.target.wants/%{name}.service
%config %{_sysconfdir}/tmpfiles.d/usb-moded.conf
%files devel
%defattr(-,root,root,-)
......
d /run/usb-moded/ 0644 root root
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment