Skip to content

Commit

Permalink
[systemd] Add systemd tmpfiles.d hack
Browse files Browse the repository at this point in the history
Add systemd tmpfiles.d hack.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Mar 12, 2015
1 parent 6611d4c commit 32997d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/usb-moded.spec
Expand Up @@ -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
Expand All @@ -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,-)
Expand Down
1 change: 1 addition & 0 deletions systemd/usb-moded.conf
@@ -0,0 +1 @@
d /run/usb-moded/ 0644 root root

0 comments on commit 32997d5

Please sign in to comment.