SHARE
TWEET

Untitled

a guest Jan 16th, 2018 395 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From d6ee71e870791d7e4bb956438d10d5e72fa66159 Mon Sep 17 00:00:00 2001
  2. From: me <me@me.me>
  3. Date: Tue, 16 Jan 2018 23:47:20 +0100
  4. Subject: [PATCH] nvidia-drm.ko should be in the package
  5.  
  6. ---
  7.  PKGBUILD | 7 ++++++-
  8.  1 file changed, 6 insertions(+), 1 deletion(-)
  9.  
  10. diff --git a/PKGBUILD b/PKGBUILD
  11. index aa3c0c9..d9dac68 100644
  12. --- a/PKGBUILD
  13. +++ b/PKGBUILD
  14. @@ -37,7 +37,9 @@ DEST_MODULE_LOCATION[0]="/kernel/drivers/video"\
  15.  BUILT_MODULE_NAME[1]="nvidia-uvm"\
  16.  DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\
  17.  BUILT_MODULE_NAME[2]="nvidia-modeset"\
  18. -DEST_MODULE_LOCATION[2]="/kernel/drivers/video"' dkms.conf
  19. +DEST_MODULE_LOCATION[2]="/kernel/drivers/video"\
  20. +BUILT_MODULE_NAME[3]="nvidia-drm"\
  21. +DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
  22.  }
  23.  
  24.  build() {
  25. @@ -57,6 +59,9 @@ package_nvidia-zen() {
  26.      install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-modeset.ko" \
  27.          "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-modeset.ko"
  28.  
  29. +    install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-drm.ko" \
  30. +        "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-drm.ko"
  31. +
  32.      if [[ "$CARCH" = "x86_64" ]]; then
  33.          install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-uvm.ko" \
  34.              "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko"
  35. --
  36. 2.15.1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top