Navigation Menu

Skip to content

Commit

Permalink
[usb-moded] Ghost /etc/modprobe.d/g_ether.conf in the spec file. Fixe…
Browse files Browse the repository at this point in the history
…s: JB#16574

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Mar 5, 2014
1 parent def9622 commit f25a1c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/usb-moded.spec
Expand Up @@ -280,6 +280,7 @@ install -m 644 -D config/run/* %{buildroot}/%{_sysconfdir}/usb-moded/run/
install -m 644 -D config/mass-storage-jolla.ini %{buildroot}/%{_sysconfdir}/usb-moded/
install -d $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants/
ln -s ../%{name}.service $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants/%{name}.service
touch %{_sysconfdir}/modprobe.d/g_ether.conf
# Sync mode not packaged for now.
rm %{buildroot}/etc/usb-moded/dyn-modes/sync_mode.ini

Expand All @@ -295,6 +296,7 @@ systemctl daemon-reload || :
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/usb_moded.conf
%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas
%config(noreplace) %{_sysconfdir}/modprobe.d/usb_moded.conf
%ghost %config(noreplace) %{_sysconfdir}/modprobe.d/g_ether.conf
%{_sbindir}/usb_moded
%{_sbindir}/usb_moded_util
%{_mandir}/man1/usb-moded.1.gz
Expand Down

0 comments on commit f25a1c7

Please sign in to comment.