From 0f80b9739fee123c56b490ae5109640afa310796 Mon Sep 17 00:00:00 2001 From: gitbarnabedikartola Date: Wed, 11 Oct 2023 12:19:50 +0000 Subject: [PATCH] new version --- PKGBUILD | 6 +++--- nvidia.install | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 91e5dce..74e8ac9 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.55*xanmod* | rev | cut -d "/" -f1 | rev) +_extramodules=$(find /usr/lib/modules -type d -iname 6.1.57*xanmod* | rev | cut -d "/" -f1 | rev) pkgname=$_linuxprefix-nvidia-470xx pkgdesc="NVIDIA drivers for linux" pkgver=470.199.02 -pkgrel=61551 +pkgrel=61571 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.55*xanmod* | rev | cut -d "/" -f1 | rev) + _kernver=$(find /usr/lib/modules -type d -iname 6.1.57*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 dd3468b..bf5f664 100644 --- a/nvidia.install +++ b/nvidia.install @@ -1,7 +1,7 @@ -EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.1.55*xanmod* | rev | cut -d "/" -f1 | rev) +EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.1.57*xanmod* | rev | cut -d "/" -f1 | rev) post_install() { - depmod $(find /usr/lib/modules -type d -iname 6.1.55*xanmod* | rev | cut -d "/" -f1 | rev) + depmod $(find /usr/lib/modules -type d -iname 6.1.57*xanmod* | rev | cut -d "/" -f1 | rev) } post_upgrade() {