packages: ipheth/ipheth.spec - if building kernel module, re-alias to use o...

glen glen at pld-linux.org
Sat Aug 13 10:59:04 CEST 2011


Author: glen                         Date: Sat Aug 13 08:59:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- if building kernel module, re-alias to use our module update

---- Files affected:
packages/ipheth:
   ipheth.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/ipheth/ipheth.spec
diff -u packages/ipheth/ipheth.spec:1.6 packages/ipheth/ipheth.spec:1.7
--- packages/ipheth/ipheth.spec:1.6	Sat Aug 13 10:20:07 2011
+++ packages/ipheth/ipheth.spec	Sat Aug 13 10:58:59 2011
@@ -67,7 +67,10 @@
 %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}
@@ -93,6 +96,7 @@
 %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
 
@@ -102,6 +106,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2011/08/13 08:58:59  glen
+- if building kernel module, re-alias to use our module update
+
 Revision 1.6  2011/08/13 08:20:07  glen
 - quite useless without usbmuxd
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ipheth/ipheth.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list