diff mbox series

[SRU,F/aws,Linux] UBUNTU: [Packaging] NVIDIA -- Add the NVIDIA 455 driver

Message ID 20201105142414.88607-1-paolo.pisati@canonical.com
State New
Headers show
Series [SRU,F/aws,Linux] UBUNTU: [Packaging] NVIDIA -- Add the NVIDIA 455 driver | expand

Commit Message

Paolo Pisati Nov. 5, 2020, 2:24 p.m. UTC
From: Alberto Milone <alberto.milone@canonical.com>

Add signed modules for the NVIDIA 455 series.

This requires updating the debian/dkms-versions to match what is                                                                                        
in -proposed.

BugLink: https://bugs.launchpad.net/bugs/1902093

Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 debian/dkms-versions            | 2 +-
 debian/rules                    | 1 +
 debian/rules.d/2-binary-arch.mk | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

Comments

Paolo Pisati Nov. 5, 2020, 2:48 p.m. UTC | #1
On Thu, Nov 05, 2020 at 03:24:14PM +0100, Paolo Pisati wrote:
> From: Alberto Milone <alberto.milone@canonical.com>
> 
> Add signed modules for the NVIDIA 455 series.
> 
> This requires updating the debian/dkms-versions to match what is                                                                                        
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093

smb NACKed the generic flavour patch (which this one is based off), so let me
fix this one and resend.
diff mbox series

Patch

diff --git a/debian/dkms-versions b/debian/dkms-versions
index 149992ea3b94..eaaadbaf9556 100644
--- a/debian/dkms-versions
+++ b/debian/dkms-versions
@@ -1,7 +1,7 @@ 
 zfs-linux 0.8.3-1ubuntu12.4
 nvidia-graphics-drivers-390 390.138-0ubuntu0.20.04.1
-nvidia-graphics-drivers-435 435.21-0ubuntu7
 nvidia-graphics-drivers-450 450.80.02-0ubuntu0.20.04.2
+nvidia-graphics-drivers-455 0
 nvidia-graphics-drivers-418-server 418.152.00-0ubuntu0.20.04.1
 nvidia-graphics-drivers-440-server 440.95.01-0ubuntu0.20.04.1
 nvidia-graphics-drivers-450-server 450.80.02-0ubuntu0.20.04.3
diff --git a/debian/rules b/debian/rules
index 4d79d4a22a52..38b9f3b34ce4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -128,6 +128,7 @@  dkms_zfs_linux_version=$(shell gawk '/^zfs-linux / { print $$2; }' debian/dkms-v
 dkms_nvidia_390_version=$(shell gawk '/^nvidia-graphics-drivers-390 / { print $$2; }' debian/dkms-versions)
 dkms_nvidia_435_version=$(shell gawk '/^nvidia-graphics-drivers-435 / { print $$2; }' debian/dkms-versions)
 dkms_nvidia_450_version=$(shell gawk '/^nvidia-graphics-drivers-450 / { print $$2; }' debian/dkms-versions)
+dkms_nvidia_455_version=$(shell gawk '/^nvidia-graphics-drivers-455 / { print $$2; }' debian/dkms-versions)
 dkms_nvidia_418_server_version=$(shell gawk '/^nvidia-graphics-drivers-418-server / { print $$2; }' debian/dkms-versions)
 dkms_nvidia_440_server_version=$(shell gawk '/^nvidia-graphics-drivers-440-server / { print $$2; }' debian/dkms-versions)
 dkms_nvidia_450_server_version=$(shell gawk '/^nvidia-graphics-drivers-450-server / { print $$2; }' debian/dkms-versions)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 35353a2613ff..fe1345d21b1c 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -406,6 +406,7 @@  ifeq ($(do_dkms_nvidia),true)
 	$(call build_dkms, $(bldinfo_pkg_name)-$*, $(pkgdir_bldinfo)/usr/lib/linux/$(abi_release)-$*/signatures, "", nvidia-390, pool/restricted/n/nvidia-graphics-drivers-390/nvidia-kernel-source-390_$(dkms_nvidia_390_version)_$(arch).deb pool/restricted/n/nvidia-graphics-drivers-390/nvidia-dkms-390_$(dkms_nvidia_390_version)_$(arch).deb)
 	$(call build_dkms, $(bldinfo_pkg_name)-$*, $(pkgdir_bldinfo)/usr/lib/linux/$(abi_release)-$*/signatures, "", nvidia-435, pool/restricted/n/nvidia-graphics-drivers-435/nvidia-kernel-source-435_$(dkms_nvidia_435_version)_$(arch).deb pool/restricted/n/nvidia-graphics-drivers-435/nvidia-dkms-435_$(dkms_nvidia_435_version)_$(arch).deb)
 	$(call build_dkms, $(bldinfo_pkg_name)-$*, $(pkgdir_bldinfo)/usr/lib/linux/$(abi_release)-$*/signatures, "", nvidia-450, pool/restricted/n/nvidia-graphics-drivers-450/nvidia-kernel-source-450_$(dkms_nvidia_450_version)_$(arch).deb pool/restricted/n/nvidia-graphics-drivers-450/nvidia-dkms-450_$(dkms_nvidia_450_version)_$(arch).deb)
+	$(call build_dkms, $(bldinfo_pkg_name)-$*, $(pkgdir_bldinfo)/usr/lib/linux/$(abi_release)-$*/signatures, "", nvidia-455, pool/restricted/n/nvidia-graphics-drivers-455/nvidia-kernel-source-455_$(dkms_nvidia_455_version)_$(arch).deb pool/restricted/n/nvidia-graphics-drivers-455/nvidia-dkms-455_$(dkms_nvidia_455_version)_$(arch).deb)
 endif
 
 ifeq ($(do_dkms_nvidia_server),true)