]> git.pld-linux.org Git - packages/ipheth.git/commitdiff
- if building kernel module, re-alias to use our module update
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 13 Aug 2011 08:58:59 +0000 (08:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ipheth.spec -> 1.7

ipheth.spec

index 644a48f1c61d7db5c9374cd149f776e8eddda106..17576d6b9356a1f6c2ec1fe3375563bdb52a6614 100644 (file)
@@ -66,7 +66,10 @@ Linux driver for iPhone USB Ethernet Driver.
 %install
 rm -rf $RPM_BUILD_ROOT
 %if %{with kernel}
-%install_kernel_modules -m ipheth-driver/ipheth -d misc
+%install_kernel_modules -m ipheth-driver/ipheth -d misc -s update -n %{pname}
+cat <<'EOF' >> /etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
+blacklist %{pname}
+EOF
 %endif
 
 %if %{with userspace}
@@ -92,5 +95,6 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with kernel}
 %files -n kernel%{_alt_kernel}-net-ipheth
 %defattr(644,root,root,755)
+/etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
 /lib/modules/%{_kernel_ver}/misc/*.ko*
 %endif
This page took 0.057624 seconds and 4 git commands to generate.