Date: Friday, February 23, 2018 @ 21:21:38
  Author: heftig
Revision: 317451

Revert fb change

Modified:
  nvidia-340xx/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-23 21:20:42 UTC (rev 317450)
+++ PKGBUILD    2018-02-23 21:21:38 UTC (rev 317451)
@@ -49,11 +49,8 @@
 
     find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
 
-    install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" 
<<END
-blacklist nouveau
-blacklist nvidiafb
-blacklist rivafb
-END
+    echo "blacklist nouveau" |
+        install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
 }
 
 package_nvidia-340xx-dkms() {
@@ -69,9 +66,6 @@
     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
 
-    install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" 
<<END
-blacklist nouveau
-blacklist nvidiafb
-blacklist rivafb
-END
+    echo "blacklist nouveau" |
+        install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
 }

Reply via email to