From d76ae814bc6a3b006968a344b45fcb95bb038022 Mon Sep 17 00:00:00 2001 From: gitbarnabedikartola Date: Sun, 21 Jan 2024 15:57:53 +0000 Subject: [PATCH] new version --- PKGBUILD | 6 +++--- nvidia.install | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 1609f8a..cbbcb7c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,12 +4,12 @@ # Maintainer : Thomas Baechler _linuxprefix=linux-xanmod-lts -_extramodules=$(find /usr/lib/modules -type d -iname 6.1.72*xanmod* | rev | cut -d "/" -f1 | rev) +_extramodules=$(find /usr/lib/modules -type d -iname 6.1.74*xanmod* | rev | cut -d "/" -f1 | rev) pkgname=$_linuxprefix-nvidia-470xx pkgdesc="NVIDIA drivers for linux" pkgver=470.223.02 -pkgrel=61721 +pkgrel=61741 arch=('x86_64') url="http://www.nvidia.com/" license=('custom') @@ -33,7 +33,7 @@ prepare() { } build() { - _kernver=$(find /usr/lib/modules -type d -iname 6.1.72*xanmod* | rev | cut -d "/" -f1 | rev) + _kernver=$(find /usr/lib/modules -type d -iname 6.1.74*xanmod* | rev | cut -d "/" -f1 | rev) cd "${_pkg}" make -C kernel SYSSRC=/usr/lib/modules/"${_kernver}/build" module diff --git a/nvidia.install b/nvidia.install index 3d47067..d89e102 100644 --- a/nvidia.install +++ b/nvidia.install @@ -1,7 +1,7 @@ -EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.1.72*xanmod* | rev | cut -d "/" -f1 | rev) +EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.1.74*xanmod* | rev | cut -d "/" -f1 | rev) post_install() { - depmod $(find /usr/lib/modules -type d -iname 6.1.72*xanmod* | rev | cut -d "/" -f1 | rev) + depmod $(find /usr/lib/modules -type d -iname 6.1.74*xanmod* | rev | cut -d "/" -f1 | rev) } post_upgrade() {