[arch-commits] Commit in nvidia/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Apr 11 17:59:34 UTC 2016
Date: Monday, April 11, 2016 @ 19:59:34
Author: fyan
Revision: 264676
upgpkg: nvidia 364.16-2
fix the missing nvidia-drm kernel module
Modified:
nvidia/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-11 17:10:32 UTC (rev 264675)
+++ PKGBUILD 2016-04-11 17:59:34 UTC (rev 264676)
@@ -7,7 +7,7 @@
pkgname=(nvidia nvidia-dkms)
pkgver=364.16
_extramodules=extramodules-4.5-ARCH
-pkgrel=1
+pkgrel=2
pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
@@ -41,7 +41,9 @@
BUILT_MODULE_NAME[1]="nvidia-uvm"\
DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\
BUILT_MODULE_NAME[2]="nvidia-modeset"\
-DEST_MODULE_LOCATION[2]="/kernel/drivers/video"' dkms.conf
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[3]="nvidia-drm"\
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
}
build() {
@@ -59,6 +61,8 @@
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-modeset.ko" \
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-modeset.ko"
+ install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-drm.ko" \
+ "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-drm.ko"
if [[ "$CARCH" = "x86_64" ]]; then
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-uvm.ko" \
More information about the arch-commits
mailing list