diff mbox series

[1/4,F,SRU,generic,L-R-M] UBUNTU: [Packaging] NVIDIA -- provide the nvidia-prebuilt-kernel virtual package

Message ID 20201104162816.496957-2-alberto.milone@canonical.com
State New
Headers show
Series Add the NVIDIA 455 series | expand

Commit Message

Alberto Milone Nov. 4, 2020, 4:28 p.m. UTC
Make all the NVIDIA drivers, except for 390, provide the nvidia-prebuilt-kernel
virtual package.

This allows adding a generic dependency on the signed modules.

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

Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
---
 debian/control.d/meta-nvidia | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/debian/control.d/meta-nvidia b/debian/control.d/meta-nvidia
index 3cb0f94..c858688 100644
--- a/debian/control.d/meta-nvidia
+++ b/debian/control.d/meta-nvidia
@@ -15,7 +15,7 @@  Package: linux-modules-nvidia-435-generic${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-435-modules}
+Provides: ${dkms:nvidia-435-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-435-@ABI@-generic (= ${binary:Version}),
@@ -28,7 +28,7 @@  Package: linux-modules-nvidia-450-generic${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-450-modules}
+Provides: ${dkms:nvidia-450-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-450-@ABI@-generic (= ${binary:Version}),
@@ -41,7 +41,7 @@  Package: linux-modules-nvidia-418-server-generic${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-418-server-modules}
+Provides: ${dkms:nvidia-418-server-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-418-server-@ABI@-generic (= ${binary:Version}),
@@ -54,7 +54,7 @@  Package: linux-modules-nvidia-440-server-generic${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-440-server-modules}
+Provides: ${dkms:nvidia-440-server-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-440-server-@ABI@-generic (= ${binary:Version}),
@@ -67,7 +67,7 @@  Package: linux-modules-nvidia-450-server-generic${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-450-server-modules}
+Provides: ${dkms:nvidia-450-server-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-450-server-@ABI@-generic (= ${binary:Version}),
@@ -93,7 +93,7 @@  Package: linux-modules-nvidia-435-lowlatency${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-435-modules}
+Provides: ${dkms:nvidia-435-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-435-@ABI@-lowlatency (= ${binary:Version}),
@@ -106,7 +106,7 @@  Package: linux-modules-nvidia-450-lowlatency${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-450-modules}
+Provides: ${dkms:nvidia-450-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-450-@ABI@-lowlatency (= ${binary:Version}),
@@ -119,7 +119,7 @@  Package: linux-modules-nvidia-418-server-lowlatency${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-418-server-modules}
+Provides: ${dkms:nvidia-418-server-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-418-server-@ABI@-lowlatency (= ${binary:Version}),
@@ -132,7 +132,7 @@  Package: linux-modules-nvidia-440-server-lowlatency${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-440-server-modules}
+Provides: ${dkms:nvidia-440-server-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-440-server-@ABI@-lowlatency (= ${binary:Version}),
@@ -145,7 +145,7 @@  Package: linux-modules-nvidia-450-server-lowlatency${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-450-server-modules}
+Provides: ${dkms:nvidia-450-server-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-450-server-@ABI@-lowlatency (= ${binary:Version}),