- blacklist old e1000 module from kernel source auto/th/e1000-7_6_15_4-2
authorshadzik <shadzik@pld-linux.org>
Sun, 9 Mar 2008 11:26:47 +0000 (11:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 2

Changed files:
    e1000.spec -> 1.83

e1000.spec

index 07f8e766b98ceb742b6b738fffd418f59233fb08..9b9646de647df442f605ccd7a529d735e27d1c74 100644 (file)
@@ -4,7 +4,7 @@
 %bcond_with    verbose         # verbose build (V=1)
 #
 %define                pname   e1000
-%define                rel     1
+%define                rel     2
 #
 Summary:       Intel(R) PRO/1000 driver for Linux
 Summary(pl.UTF-8):     Sterownik do karty Intel(R) PRO/1000
@@ -67,6 +67,11 @@ EOF
 %install
 rm -rf $RPM_BUILD_ROOT
 %install_kernel_modules -m src/%{pname} -d kernel/drivers/net -n %{pname} -s current
+# blacklist kernel module
+cat > $RPM_BUILD_ROOT/etc/modprobe.d/%{_kernel_ver}/%{pname}.conf <<'EOF'
+blacklist e1000
+alias e1000 e1000-current
+EOF
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.028522 seconds and 4 git commands to generate.