mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-09 19:48:20 +00:00
patch(-fbc).sh: Add Debian's Tesla driver to search path
Used by: https://packages.debian.org/bookworm/amd64/libnvidia-encode1/filelist https://packages.debian.org/bookworm/amd64/libnvidia-tesla-encode1/filelist https://packages.debian.org/bookworm/amd64/libnvidia-tesla-470-encode1/filelist
This commit is contained in:
parent
f4bed4a942
commit
dfebb8df69
@ -368,6 +368,8 @@ patch_common () {
|
|||||||
declare -a driver_locations=(
|
declare -a driver_locations=(
|
||||||
'/usr/lib/x86_64-linux-gnu'
|
'/usr/lib/x86_64-linux-gnu'
|
||||||
'/usr/lib/x86_64-linux-gnu/nvidia/current/'
|
'/usr/lib/x86_64-linux-gnu/nvidia/current/'
|
||||||
|
'/usr/lib/x86_64-linux-gnu/nvidia/tesla/'
|
||||||
|
"/usr/lib/x86_64-linux-gnu/nvidia/tesla-${driver_version%%.*}/"
|
||||||
'/usr/lib64'
|
'/usr/lib64'
|
||||||
'/usr/lib'
|
'/usr/lib'
|
||||||
"/usr/lib/nvidia-${driver_version%%.*}"
|
"/usr/lib/nvidia-${driver_version%%.*}"
|
||||||
|
2
patch.sh
2
patch.sh
@ -444,6 +444,8 @@ patch_common () {
|
|||||||
declare -a driver_locations=(
|
declare -a driver_locations=(
|
||||||
'/usr/lib/x86_64-linux-gnu'
|
'/usr/lib/x86_64-linux-gnu'
|
||||||
'/usr/lib/x86_64-linux-gnu/nvidia/current/'
|
'/usr/lib/x86_64-linux-gnu/nvidia/current/'
|
||||||
|
'/usr/lib/x86_64-linux-gnu/nvidia/tesla/'
|
||||||
|
"/usr/lib/x86_64-linux-gnu/nvidia/tesla-${driver_version%%.*}/"
|
||||||
'/usr/lib64'
|
'/usr/lib64'
|
||||||
'/usr/lib'
|
'/usr/lib'
|
||||||
"/usr/lib/nvidia-${driver_version%%.*}"
|
"/usr/lib/nvidia-${driver_version%%.*}"
|
||||||
|
Loading…
Reference in New Issue
Block a user