mirror of
https://github.com/Frogging-Family/nvidia-all
synced 2024-10-30 15:20:10 +00:00
535.161.07
This commit is contained in:
parent
cc9265acaf
commit
47889cac13
10
PKGBUILD
10
PKGBUILD
@ -48,7 +48,7 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ -z $CONDITION ]]; then
|
if [[ -z $CONDITION ]]; then
|
||||||
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 535.43.28\n 2.550 series: 550.54.14\n 3.545 series: 545.29.06\n 4.535 series: 535.154.05\n 5.470 series: 470.223.02\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
|
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 535.43.28\n 2.550 series: 550.54.14\n 3.545 series: 545.29.06\n 4.535 series: 535.161.07\n 5.470 series: 470.223.02\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
|
||||||
fi
|
fi
|
||||||
# This will be treated as the latest regular driver.
|
# This will be treated as the latest regular driver.
|
||||||
if [ "$CONDITION" = "2" ]; then
|
if [ "$CONDITION" = "2" ]; then
|
||||||
@ -60,8 +60,8 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
|
|||||||
echo '_md5sum=406f748abf16db5d599b652c508b99fd' >> options
|
echo '_md5sum=406f748abf16db5d599b652c508b99fd' >> options
|
||||||
echo '_driver_branch=regular' >> options
|
echo '_driver_branch=regular' >> options
|
||||||
elif [ "$CONDITION" = "4" ]; then
|
elif [ "$CONDITION" = "4" ]; then
|
||||||
echo '_driver_version=535.154.05' > options
|
echo '_driver_version=535.161.07' > options
|
||||||
echo '_md5sum=53ab0bf8076fb5ba881b3a8eab566f72' >> options
|
echo '_md5sum=7e84b8b4ba63be061508921f19ef3b45' >> options
|
||||||
echo '_driver_branch=regular' >> options
|
echo '_driver_branch=regular' >> options
|
||||||
elif [ "$CONDITION" = "5" ]; then
|
elif [ "$CONDITION" = "5" ]; then
|
||||||
echo '_driver_version=470.223.02' > options
|
echo '_driver_version=470.223.02' > options
|
||||||
@ -870,7 +870,7 @@ DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
|
|||||||
|
|
||||||
# 6.1-6-7-8 GPL
|
# 6.1-6-7-8 GPL
|
||||||
if (( $(vercmp "$_kernel" "6.1") >= 0 )) || (( $(vercmp "$_kernel" "6.6") >= 0 )) || (( $(vercmp "$_kernel" "6.7") >= 0 )) || (( $(vercmp "$_kernel" "6.8") >= 0 )); then
|
if (( $(vercmp "$_kernel" "6.1") >= 0 )) || (( $(vercmp "$_kernel" "6.6") >= 0 )) || (( $(vercmp "$_kernel" "6.7") >= 0 )) || (( $(vercmp "$_kernel" "6.8") >= 0 )); then
|
||||||
if [[ $pkgver = 470.* ]] || [[ $pkgver = 535.* ]] || [[ $pkgver = 545.* ]] || [[ $pkgver = 550.4* ]]; then
|
if [[ $pkgver = 470.* ]] || [[ $pkgver = 535.14* ]] || [[ $pkgver = 545.* ]] || [[ $pkgver = 550.4* ]]; then
|
||||||
cd "$srcdir"/"$_pkg"/kernel-$_kernel
|
cd "$srcdir"/"$_pkg"/kernel-$_kernel
|
||||||
msg2 "Applying 6.1-6-7-8-gpl.diff for $_kernel..."
|
msg2 "Applying 6.1-6-7-8-gpl.diff for $_kernel..."
|
||||||
patch -Np2 -i "$srcdir"/6.1-6-7-8-gpl.diff
|
patch -Np2 -i "$srcdir"/6.1-6-7-8-gpl.diff
|
||||||
@ -1390,7 +1390,7 @@ DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
|
|||||||
|
|
||||||
# 6.1-6-7-8 GPL
|
# 6.1-6-7-8 GPL
|
||||||
if (( $(vercmp "$_kernel" "6.1") >= 0 )) || (( $(vercmp "$_kernel" "6.6") >= 0 )) || (( $(vercmp "$_kernel" "6.7") >= 0 )) || (( $(vercmp "$_kernel" "6.8") >= 0 )); then
|
if (( $(vercmp "$_kernel" "6.1") >= 0 )) || (( $(vercmp "$_kernel" "6.6") >= 0 )) || (( $(vercmp "$_kernel" "6.7") >= 0 )) || (( $(vercmp "$_kernel" "6.8") >= 0 )); then
|
||||||
if [[ $pkgver = 470.* ]] || [[ $pkgver = 535.* ]] || [[ $pkgver = 545.* ]] || [[ $pkgver = 550.4* ]]; then
|
if [[ $pkgver = 470.* ]] || [[ $pkgver = 535.15* ]] || [[ $pkgver = 545.* ]] || [[ $pkgver = 550.4* ]]; then
|
||||||
msg2 "Applying 6.1-6-7-8-gpl.diff for dkms..."
|
msg2 "Applying 6.1-6-7-8-gpl.diff for dkms..."
|
||||||
patch -Np1 -i "$srcdir"/6.1-6-7-8-gpl.diff
|
patch -Np1 -i "$srcdir"/6.1-6-7-8-gpl.diff
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user