[PATCH 1/7 G][L-R-M] UBUNTU: [packaging] add signed modules for the nvidia 435 drivers

Alberto Milone alberto.milone at canonical.com
Thu Jul 16 13:39:47 UTC 2020


Build the drivers for amd64.

BugLink: https://bugs.launchpad.net/bugs/1881137
Signed-off-by: Alberto Milone <alberto.milone at canonical.com>
---
 debian/control.d/meta-nvidia | 18 ++++++++++++++++++
 debian/control.d/nvidia      | 28 ++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/debian/control.d/meta-nvidia b/debian/control.d/meta-nvidia
index f683d0e..4da7b26 100644
--- a/debian/control.d/meta-nvidia
+++ b/debian/control.d/meta-nvidia
@@ -16,6 +16,24 @@ Depends: ${misc:Depends}, linux-modules-nvidia-390-ABI-lowlatency (= ${binary:Ve
 Description: Extra drivers for nvidia-390 for the lowlatency flavour
  Install extra signed nvidia-390 modules compatible with the lowlatency flavour.
 
+Package: linux-modules-nvidia-435-generic${variant:suffix}
+Build-Profiles: <!stage1>
+Architecture: amd64
+Section: kernel
+Provides: ${dkms:nvidia-435-modules}
+Depends: ${misc:Depends}, linux-modules-nvidia-435-ABI-generic (= ${binary:Version})
+Description: Extra drivers for nvidia-435 for the generic flavour
+ Install extra signed nvidia-435 modules compatible with the generic flavour.
+
+Package: linux-modules-nvidia-435-lowlatency${variant:suffix}
+Build-Profiles: <!stage1>
+Architecture: amd64
+Section: kernel
+Provides: ${dkms:nvidia-435-modules}
+Depends: ${misc:Depends}, linux-modules-nvidia-435-ABI-lowlatency (= ${binary:Version})
+Description: Extra drivers for nvidia-435 for the lowlatency flavour
+ Install extra signed nvidia-435 modules compatible with the lowlatency flavour.
+
 Package: linux-modules-nvidia-440-generic${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
diff --git a/debian/control.d/nvidia b/debian/control.d/nvidia
index 875e09e..65d4fcb 100644
--- a/debian/control.d/nvidia
+++ b/debian/control.d/nvidia
@@ -26,6 +26,34 @@ Description: Linux kernel nvidia modules for version ABI
  linux-image-nvidia-FLAVOUR meta-package, which will ensure that upgrades work
  correctly, and that supporting packages are also installed.
 
+Package: linux-modules-nvidia-435-ABI-generic
+Build-Profiles: <!stage1>
+Architecture: amd64
+Section: kernel
+Priority: optional
+Built-Using: ${linux:BuiltUsing}
+Depends: ${misc:Depends}, ${shlibs:Depends}, binutils, linux-image-ABI-generic | linux-image-unsigned-ABI-generic, nvidia-kernel-common-435
+Description: Linux kernel nvidia modules for version ABI
+ This package contains the Linux kernel nvidia modules for version ABI.
+ .
+ You likely do not want to install this package directly. Instead, install the
+ linux-image-nvidia-FLAVOUR meta-package, which will ensure that upgrades work
+ correctly, and that supporting packages are also installed.
+
+Package: linux-modules-nvidia-435-ABI-lowlatency
+Build-Profiles: <!stage1>
+Architecture: amd64
+Section: kernel
+Priority: optional
+Built-Using: ${linux:BuiltUsing}
+Depends: ${misc:Depends}, ${shlibs:Depends}, binutils, linux-image-ABI-lowlatency | linux-image-unsigned-ABI-lowlatency, nvidia-kernel-common-435
+Description: Linux kernel nvidia modules for version ABI
+ This package contains the Linux kernel nvidia modules for version ABI.
+ .
+ You likely do not want to install this package directly. Instead, install the
+ linux-image-nvidia-FLAVOUR meta-package, which will ensure that upgrades work
+ correctly, and that supporting packages are also installed.
+
 Package: linux-modules-nvidia-440-ABI-generic
 Build-Profiles: <!stage1>
 Architecture: amd64
-- 
2.25.1




More information about the kernel-team mailing list