Compare commits

...

No commits in common. "e55724271fa8509f2151fc569279399de06b5897" and "f29ef2a9d7c31baa626e6a322bc5c18ef5c06aad" have entirely different histories.

235 changed files with 508 additions and 487 deletions

21
create-from-template.sh Executable file
View File

@ -0,0 +1,21 @@
#! /bin/bash
set -e
source ./version.sh
mv ./nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR# ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR"
for f in $(find ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" -type f)
do
mv "$f" "$(echo "$f" | sed s/#DRIVER_VERSION_MAJOR#/"$DRIVER_VERSION_MAJOR"/)" || true
done
for f in $(find ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" -type f)
do
sed -i s/#DRIVER_VERSION_MAJOR#/"$DRIVER_VERSION_MAJOR"/g "$f" || true
sed -i s/#DRIVER_VERSION_FULL#/"$DRIVER_VERSION_FULL"/g "$f" || true
sed -i s/#DRIVER_ARCH#/"$DRIVER_ARCH"/g "$f" || true
done
rm -f ./create-from-template.sh

View File

@ -0,0 +1,5 @@
nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR# (#DRIVER_VERSION_FULL#-101pika2) pika; urgency=medium
* New upstream
-- Andreas Beckmann <root@cybik.moe> Wed, 22 May 2024 07:31:41 -0700

View File

@ -0,0 +1,2 @@
firmware/gsp*.bin lib/firmware/nvidia/#DRIVER_VERSION_FULL#/
#RIM_GH100PROD.swidtag usr/share/nvidia/rim/#DRIVER_VERSION_FULL#/

View File

@ -0,0 +1,4 @@
# Firmware blob.
binary-from-other-architecture [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin]
spelling-error-in-binary * [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin]
unstripped-binary-or-object [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin]

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libcuda.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so

View File

@ -8,7 +8,7 @@ then
if [ -x /usr/lib/nvidia/check-for-mismatching-nvidia-module ]
then
/usr/lib/nvidia/check-for-mismatching-nvidia-module 560.28.03
/usr/lib/nvidia/check-for-mismatching-nvidia-module #DRIVER_VERSION_FULL#
fi
fi

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libcudadebugger.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcudadebugger.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcudadebugger.so.1

View File

@ -1,5 +1,5 @@
#! /usr/bin/dh-exec
libEGL_nvidia.so.560.28.03 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
libEGL_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
libnvidia-egl-xcb.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
libnvidia-egl-xlib.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
20_nvidia_xcb.json /usr/share/egl/egl_external_platform.d/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libEGL_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libEGL_nvidia.so.0

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libGLESv1_CM_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv1_CM_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv1_CM_nvidia.so.1

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libGLESv2_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv2_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv2_nvidia.so.2

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libGLX_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLX_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLX_nvidia.so.0

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvcuvid.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia-drm_gbm.so

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-cfg.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-cfg.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-cfg.so.1

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
libnvidia-eglcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
libnvidia-glsi.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/

View File

@ -1,6 +1,6 @@
# The NVIDIA license does not allow any form of modification.
[i386]: binary-file-built-without-LFS-support
embedded-library libzstd [usr/lib/*/libnvidia-eglcore.so.560.28.03]
embedded-library libzstd [usr/lib/*/libnvidia-eglcore.so.#DRIVER_VERSION_FULL#]
[i386]: specific-address-in-shared-library
spelling-error-in-binary
hardening-no-bindnow
@ -13,5 +13,5 @@ hardening-no-fortify-functions
# (and a stable SONAME).
# Therefore we do not include the SONAME in this package name to
# avoid going through NEW for every new upstream release.
package-name-doesnt-match-sonames libnvidia-eglcore560.28.03 libnvidia-glsi560.28.03
package-name-doesnt-match-sonames libnvidia-eglcore#DRIVER_VERSION_FULL# libnvidia-glsi#DRIVER_VERSION_FULL#
symbols-file-missing-build-depends-package-field

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-encode.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -1,3 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.560.28.03 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-fbc.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -1,3 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.560.28.03 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
libnvidia-glcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
libnvidia-tls.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/

View File

@ -1,7 +1,7 @@
# The NVIDIA license does not allow any form of modification.
[i386]: binary-file-built-without-LFS-support
[arm64 ppc64el]: elf-warning
embedded-library libzstd [usr/lib/*/libnvidia-glcore.so.560.28.03]
embedded-library libzstd [usr/lib/*/libnvidia-glcore.so.#DRIVER_VERSION_FULL#]
[i386]: specific-address-in-shared-library
spelling-error-in-binary
hardening-no-bindnow
@ -14,5 +14,5 @@ hardening-no-fortify-functions
# (and a stable SONAME).
# Therefore we do not include the SONAME in this package name to
# avoid going through NEW for every new upstream release.
package-name-doesnt-match-sonames libnvidia-glcore560.28.03 libnvidia-tls560.28.03
package-name-doesnt-match-sonames libnvidia-glcore#DRIVER_VERSION_FULL# libnvidia-tls#DRIVER_VERSION_FULL#
symbols-file-missing-build-depends-package-field

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-glvkspirv.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/

View File

@ -11,5 +11,5 @@ hardening-no-fortify-functions
# (and a stable SONAME).
# Therefore we do not include the SONAME in this package name to
# avoid going through NEW for every new upstream release.
package-name-doesnt-match-sonames libnvidia-glvkspirv560.28.03
package-name-doesnt-match-sonames libnvidia-glvkspirv#DRIVER_VERSION_FULL#
symbols-file-missing-build-depends-package-field

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-gpucomp.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/

View File

@ -11,5 +11,5 @@ hardening-no-fortify-functions
# (and a stable SONAME).
# Therefore we do not include the SONAME in this package name to
# avoid going through NEW for every new upstream release.
package-name-doesnt-match-sonames libnvidia-gpucomp560.28.03
package-name-doesnt-match-sonames libnvidia-gpucomp#DRIVER_VERSION_FULL#
symbols-file-missing-build-depends-package-field

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-ml.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so

View File

@ -1,4 +1,4 @@
#! /usr/bin/dh-exec
libnvidia-ngx.so.560.28.03 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
libnvidia-ngx.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
_nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine
nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine

View File

@ -1,3 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.560.28.03 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-nvvm.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.4
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.4 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-opticalflow.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -1,3 +1,3 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.560.28.03 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.1
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-pkcs11-openssl3.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/

View File

@ -2,7 +2,7 @@
hardening-no-bindnow
# Use wildcard instead of exact path substitution, this is a M-A: same package.
library-not-linked-against-libc [usr/lib*/libnvidia-pkcs11-openssl3.so.560.28.03]
library-not-linked-against-libc [usr/lib*/libnvidia-pkcs11-openssl3.so.#DRIVER_VERSION_FULL#]
# The libnvidia-pkcs11-openssl3.so.* SONAME changes with every upstream
# release.
@ -11,5 +11,5 @@ library-not-linked-against-libc [usr/lib*/libnvidia-pkcs11-openssl3.so.560.28.03
# (and a stable SONAME).
# Therefore we do not include the SONAME in this package name to
# avoid going through NEW for every new upstream release.
package-name-doesnt-match-sonames libnvidia-pkcs11-openssl3-560.28.03
package-name-doesnt-match-sonames libnvidia-pkcs11-openssl3-#DRIVER_VERSION_FULL#
symbols-file-missing-build-depends-package-field

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ptxjitcompiler.so.1

View File

@ -6,7 +6,7 @@ spelling-error-in-binary
# Use wildcard instead of exact path substitution, this is a M-A: same package.
embedded-library
embedded-library zlib [usr/lib*/libnvidia-ptxjitcompiler.so.560.28.03]
embedded-library zlib [usr/lib*/libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL#]
# Lintian and debhelper disagree w.r.t. a library in a private directory.
package-has-unnecessary-activation-of-ldconfig-trigger

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
libnvidia-rtcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/

View File

@ -10,5 +10,5 @@ hardening-no-bindnow
# (and a stable SONAME).
# Therefore we do not include the SONAME in this package name to
# avoid going through NEW for every new upstream release.
package-name-doesnt-match-sonames libnvidia-rtcore560.28.03
package-name-doesnt-match-sonames libnvidia-rtcore#DRIVER_VERSION_FULL#
symbols-file-missing-build-depends-package-field

View File

@ -0,0 +1,4 @@
#! /usr/bin/dh-exec
libnvidia-vksc-core.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
nvidia_icd_vksc.json usr/share/vulkan/icd.d/
nvidia-pcc usr/bin/

View File

@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
libnvoptix.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
nvoptix.bin usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/

View File

@ -0,0 +1,2 @@
#! /usr/bin/dh-exec
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvoptix.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvoptix.so.1

View File

@ -3,7 +3,7 @@
15_nvidia_gbm.json
# Useless files or broken symlinks
libEGL.so.1.1.0
libEGL.so.560.28.03
libEGL.so.#DRIVER_VERSION_FULL#
libGL.so.1.7.0
libGLESv1_CM.so.1.2.0
libGLESv2.so.2.1.0
@ -13,7 +13,7 @@ libOpenGL.so.0
libglvnd_install_checker
libnvidia-egl-gbm.so.1.1.1
libnvidia-egl-wayland.so.1.1.13
libnvidia-pkcs11.so.560.28.03
libnvidia-pkcs11.so.#DRIVER_VERSION_FULL#
makeself-help-script.sh
makeself.sh
mkprecompiled

View File

@ -1,8 +1,8 @@
#! /usr/bin/dh-exec
etc/modprobe.d
etc/nvidia
usr/lib/nvidia/560.28.03
usr/lib/nvidia/560.28.03-open
usr/lib/nvidia/#DRIVER_VERSION_FULL#
usr/lib/nvidia/#DRIVER_VERSION_FULL#-open
usr/lib/${DEB_HOST_MULTIARCH}/gbm
usr/lib/${DEB_HOST_MULTIARCH}/nvidia
usr/lib/${DEB_HOST_MULTIARCH}/vdpau

View File

@ -1,6 +1,6 @@
# This directory is used as a master alternative.
package-contains-empty-directory [usr/lib/nvidia/560.28.03/]
package-contains-empty-directory [usr/lib/nvidia/560.28.03-open/]
package-contains-empty-directory [usr/lib/nvidia/#DRIVER_VERSION_FULL#/]
package-contains-empty-directory [usr/lib/nvidia/#DRIVER_VERSION_FULL#-open/]
# Slave alternatives may be installed there.
package-contains-empty-directory [usr/lib/x86_64-linux-gnu/gbm/]

View File

@ -58,7 +58,7 @@ if [ "$1" = "triggered" ]; then
$(add_multiarch_slave /usr/lib "" libnvidia-ml.so.1 /usr/lib nvidia/current/)
$(add_multiarch_slave /usr/lib "" libnvidia-ngx.so.1 /usr/lib nvidia/current/)
$(add_multiarch_slave /usr/lib "" libnvidia-nvvm.so.4 /usr/lib nvidia/current/)
$(add_multiarch_slave /usr/lib "" libnvidia-nvvm.so.560.28.03 /usr/lib nvidia/current/)
$(add_multiarch_slave /usr/lib "" libnvidia-nvvm.so.#DRIVER_VERSION_FULL# /usr/lib nvidia/current/)
$(add_multiarch_slave /usr/lib "" libnvidia-opencl.so.1 /usr/lib nvidia/current/)
$(add_multiarch_slave /usr/lib "" libnvidia-opticalflow.so.1 /usr/lib nvidia/current/)
$(add_multiarch_slave /usr/lib "" libnvidia-ptxjitcompiler.so.1 /usr/lib nvidia/current/)
@ -69,7 +69,7 @@ if [ "$1" = "triggered" ]; then
$(add_slave /usr/share/man/man1/nvidia-smi.1.gz nvidia-smi.1.gz /usr/lib/nvidia/current/nvidia-smi.1.gz)
$(add_slave /usr/lib/nvidia/nvidia-bug-report.sh nvidia-bug-report.sh /usr/lib/nvidia/current/nvidia-bug-report.sh)
$(add_slave /usr/bin/nvidia-debugdump nvidia-debugdump /usr/lib/nvidia/current/nvidia-debugdump)
$(add_slave /usr/share/nvidia/nvidia-application-profiles-key-documentation nvidia-application-profiles-key-documentation /usr/share/nvidia/nvidia-application-profiles-560.28.03-key-documentation)
$(add_slave /usr/share/nvidia/nvidia-application-profiles-key-documentation nvidia-application-profiles-key-documentation /usr/share/nvidia/nvidia-application-profiles-#DRIVER_VERSION_FULL#-key-documentation)
$(add_slave /usr/bin/nvidia-settings nvidia-settings /usr/lib/nvidia/current/nvidia-settings)
$(add_slave /usr/bin/nv-control-dpy nv-control-dpy /usr/lib/nvidia/current/nv-control-dpy)
$(add_slave /usr/share/applications/nvidia-settings.desktop nvidia-settings.desktop /usr/lib/nvidia/current/nvidia-settings.desktop)
@ -80,16 +80,16 @@ if [ "$1" = "triggered" ]; then
$(add_slave /etc/nvidia/nvidia-drm-outputclass.conf nvidia-drm-outputclass.conf /etc/nvidia/current/nvidia-drm-outputclass.conf)
"
kmod_slaves="
$(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/nvidia-560.28.03/nvidia-blacklists-nouveau.conf)
$(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/nvidia-560.28.03/nvidia-modprobe.conf)
$(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/nvidia-560.28.03/nvidia-options.conf)
$(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/nvidia-560.28.03/nvidia-load.conf)
$(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-blacklists-nouveau.conf)
$(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-modprobe.conf)
$(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-options.conf)
$(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-load.conf)
"
kmod_open_slaves="
$(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/560.28.03-open/nvidia-blacklists-nouveau.conf)
$(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/560.28.03-open/nvidia-modprobe.conf)
$(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/560.28.03-open/nvidia-options.conf)
$(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/560.28.03-open/nvidia-load.conf)
$(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-blacklists-nouveau.conf)
$(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-modprobe.conf)
$(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-options.conf)
$(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-load.conf)
"
libnvidia_ml_so_slave=
if [ -f /usr/include/nvml.h ]; then
@ -109,12 +109,12 @@ if [ "$1" = "triggered" ]; then
fi
fi
if [ "$normal_alternative" = 1 ]; then
update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current 560 $slaves $conf_slaves $kmod_slaves $libnvidia_ml_so_slave
update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current #DRIVER_VERSION_MAJOR# $slaves $conf_slaves $kmod_slaves $libnvidia_ml_so_slave
else
update-alternatives --remove nvidia /usr/lib/nvidia/current
fi
if [ "$open_alternative" = 1 ]; then
update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current-open $((560 - 1)) $slaves $conf_slaves $kmod_open_slaves $libnvidia_ml_so_slave
update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current-open $((#DRIVER_VERSION_MAJOR# - 1)) $slaves $conf_slaves $kmod_open_slaves $libnvidia_ml_so_slave
else
update-alternatives --remove nvidia /usr/lib/nvidia/current-open
fi

View File

@ -0,0 +1,14 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL#-open
update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL#
dpkg-trigger --no-await register-glx-alternative-nvidia
fi
#DEBHELPER#

View File

@ -2,8 +2,8 @@ interest-await register-nvidia-alternative
interest-await /etc/nvidia/current
interest-await /etc/nvidia/current-open
interest-await /etc/nvidia/nvidia-560.28.03
interest-await /etc/nvidia/560.28.03-open
interest-await /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#
interest-await /etc/nvidia/#DRIVER_VERSION_FULL#-open
interest-await /usr/lib/nvidia/current
interest-await /usr/lib/i386-linux-gnu/nvidia/current

View File

@ -0,0 +1,5 @@
#! /usr/bin/dh-exec
nvidia-bug-report.sh usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
nvidia-debugdump usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
nvidia-application-profiles-#DRIVER_VERSION_FULL#-rc usr/share/nvidia/
nvidia-application-profiles-#DRIVER_VERSION_FULL#-key-documentation usr/share/nvidia/

View File

@ -13,7 +13,7 @@ then
if [ -x /usr/lib/nvidia/check-for-mismatching-nvidia-module ]
then
/usr/lib/nvidia/check-for-mismatching-nvidia-module 560.28.03
/usr/lib/nvidia/check-for-mismatching-nvidia-module #DRIVER_VERSION_FULL#
fi
fi

View File

@ -1,7 +1,7 @@
# DKMS configuration for the NVIDIA kernel module. -*- sh -*-
PACKAGE_NAME="nvidia"
PACKAGE_VERSION="560.28.03"
PACKAGE_VERSION="#DRIVER_VERSION_FULL#"
# Only kernels from 3.10 onwards are supported.
BUILD_EXCLUSIVE_KERNEL="^(3\.[1-9][0-9]|[4-9]\.)"

Some files were not shown because too many files have changed in this diff Show More