mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 14:37:15 +08:00
nvidia: rebuild against latest kernel and make sure version in linux-headers and linux always match
This commit is contained in:
parent
0a44817284
commit
5834c7995a
1
nvidia/.gitignore
vendored
1
nvidia/.gitignore
vendored
@ -1 +1,2 @@
|
||||
*.run
|
||||
nvidia_supported_new
|
||||
|
@ -1,10 +1,11 @@
|
||||
pkgbase=nvidia
|
||||
pkgname=(nvidia nvidia-dkms chd-nvidia)
|
||||
pkgver=410.78
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
url="http://www.nvidia.com/"
|
||||
makedepends=("linux-headers=4.19.5" 'libglvnd' "nvidia-utils=${pkgver}")
|
||||
_linux_ver=4.19.9
|
||||
makedepends=("linux-headers=${_linux_ver}" 'libglvnd' "nvidia-utils=${pkgver}")
|
||||
license=('custom')
|
||||
options=('!strip')
|
||||
_pkg="NVIDIA-Linux-x86_64-${pkgver}"
|
||||
@ -51,7 +52,7 @@ build() {
|
||||
|
||||
package_nvidia() {
|
||||
pkgdesc="NVIDIA drivers for linux"
|
||||
depends=("linux=4.18.12" "nvidia-utils=${pkgver}" 'libglvnd')
|
||||
depends=("linux=${_linux_ver}" "nvidia-utils=${pkgver}" 'libglvnd')
|
||||
conflicts=('nvidia-96xx' 'nvidia-173xx' 'nvidia-304xx')
|
||||
|
||||
install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
|
||||
|
Loading…
Reference in New Issue
Block a user