[arch-commits] Commit in nvidia-lts/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Tue Nov 16 07:05:50 UTC 2021


    Date: Tuesday, November 16, 2021 @ 07:05:50
  Author: svenstaro
Revision: 428554

upgpkg: nvidia-lts 1:495.44-10: Try to fix FS#72306

Borrowed from tkg, thanks

Modified:
  nvidia-lts/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-16 07:05:34 UTC (rev 428553)
+++ PKGBUILD	2021-11-16 07:05:50 UTC (rev 428554)
@@ -3,7 +3,7 @@
 
 pkgname=nvidia-lts
 pkgver=495.44
-pkgrel=9
+pkgrel=10
 epoch=1
 pkgdesc="NVIDIA drivers for linux-lts"
 arch=('x86_64')
@@ -24,15 +24,13 @@
 
     _kernver="$(</usr/src/linux-lts/version)"
 
-    install -Dt "${pkgdir}/usr/lib/modules/${_kernver}/extramodules" -m644 \
-        nvidia/${pkgver}/${_kernver}/${CARCH}/module/*
+    install -Dt "${pkgdir}/usr/lib/modules/${_kernver}/extramodules" -m644 nvidia/${pkgver}/${_kernver}/${CARCH}/module/*
 
     # compress each module individually
     find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
 
-    echo "blacklist nouveau" |
-        install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+    echo "blacklist nouveau" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+    echo "nvidia-uvm" | install -Dm644 /dev/stdin "${pkgdir}/etc/modules-load.d/${pkgname}.conf"
 
-    install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 \
-        /usr/share/licenses/nvidia-dkms/LICENSE
+    install -Dm644 /usr/share/licenses/nvidia-dkms/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list