diff mbox series

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

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

Commit Message

Alberto Milone Nov. 4, 2020, 4:45 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.stub | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/debian/control.stub b/debian/control.stub
index d0d2a2c..5c43101 100644
--- a/debian/control.stub
+++ b/debian/control.stub
@@ -98,7 +98,7 @@  Package: linux-modules-nvidia-435-generic
 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}),
  ${nvk:nvidia-435}
 Description: Extra drivers for nvidia-435 for the generic flavour
@@ -108,7 +108,7 @@  Package: linux-modules-nvidia-435-lowlatency
 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}),
  ${nvk:nvidia-435}
 Description: Extra drivers for nvidia-435 for the lowlatency flavour
@@ -146,7 +146,7 @@  Package: linux-modules-nvidia-450-generic
 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}),
  ${nvk:nvidia-450}
 Description: Extra drivers for nvidia-450 for the generic flavour
@@ -156,7 +156,7 @@  Package: linux-modules-nvidia-450-lowlatency
 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}),
  ${nvk:nvidia-450}
 Description: Extra drivers for nvidia-450 for the lowlatency flavour
@@ -194,7 +194,7 @@  Package: linux-modules-nvidia-418-server-generic
 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}),
  ${nvk:nvidia-418-server}
 Description: Extra drivers for nvidia-418-server for the generic flavour
@@ -204,7 +204,7 @@  Package: linux-modules-nvidia-418-server-lowlatency
 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}),
  ${nvk:nvidia-418-server}
 Description: Extra drivers for nvidia-418-server for the lowlatency flavour
@@ -242,7 +242,7 @@  Package: linux-modules-nvidia-440-server-generic
 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}),
  ${nvk:nvidia-440-server}
 Description: Extra drivers for nvidia-440-server for the generic flavour
@@ -252,7 +252,7 @@  Package: linux-modules-nvidia-440-server-lowlatency
 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}),
  ${nvk:nvidia-440-server}
 Description: Extra drivers for nvidia-440-server for the lowlatency flavour
@@ -290,7 +290,7 @@  Package: linux-modules-nvidia-450-server-generic
 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}),
  ${nvk:nvidia-450-server}
 Description: Extra drivers for nvidia-450-server for the generic flavour
@@ -300,7 +300,7 @@  Package: linux-modules-nvidia-450-server-lowlatency
 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}),
  ${nvk:nvidia-450-server}
 Description: Extra drivers for nvidia-450-server for the lowlatency flavour