nvidia: don't use the buildservers number of processors in dkms.conf

Closes #11812.

Signed-off-by: Enno Boland <gottox@voidlinux.org>
This commit is contained in:
Duncaen 2019-05-18 23:07:38 +02:00 committed by Enno Boland
parent 675c4222be
commit 1561f9953d

View file

@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
pkgname=nvidia
version=430.14
revision=1
revision=2
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="Proprietary NVIDIA license"
homepage="http://www.nvidia.com"
@ -144,7 +144,7 @@ do_install() {
vcopy "kernel/*" usr/src/nvidia-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/nvidia-${version}
sed -e "s/__PKGVER/${version}/g" \
-e "s/__MAKEJOBS/-j$(nproc)/g" \
-e 's/__MAKEJOBS/-j$(nproc)/g' \
-i ${DESTDIR}/usr/src/nvidia-${version}/dkms.conf
vmkdir /usr/share/X11/xorg.conf.d/