Date: Thursday, February 15, 2018 @ 01:49:26
  Author: heftig
Revision: 317081

340.106-11: kernel 4.15.3-2

Modified:
  nvidia-340xx/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-15 01:48:56 UTC (rev 317080)
+++ PKGBUILD    2018-02-15 01:49:26 UTC (rev 317081)
@@ -6,7 +6,7 @@
 pkgname=(nvidia-340xx nvidia-340xx-dkms)
 pkgver=340.106
 _extramodules=extramodules-4.15-ARCH
-pkgrel=10
+pkgrel=11
 pkgdesc="NVIDIA drivers for linux, 340xx legacy branch"
 arch=('x86_64')
 url="http://www.nvidia.com/";
@@ -49,8 +49,11 @@
 
     find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
 
-    echo "blacklist nouveau" |
-      install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/nvidia.conf"
+    install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" 
<<END
+blacklist nouveau
+blacklist nvidiafb
+blacklist rivafb
+END
 }
 
 package_nvidia-340xx-dkms() {
@@ -66,6 +69,9 @@
     cp -dr --no-preserve='ownership' kernel-dkms 
"${pkgdir}/usr/src/nvidia-${pkgver}"
     cat "${pkgdir}"/usr/src/nvidia-${pkgver}/uvm/dkms.conf.fragment >> 
"${pkgdir}"/usr/src/nvidia-${pkgver}/dkms.conf
 
-    echo "blacklist nouveau" |
-      install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/nvidia.conf"
+    install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" 
<<END
+blacklist nouveau
+blacklist nvidiafb
+blacklist rivafb
+END
 }

Reply via email to