diff mbox series

[8/10,G/H,SRU,gcp,L-R-M] UBUNTU: [Packaging] NVIDIA -- provide the nvidia-prebuilt-kernel virtual package

Message ID 20201103173129.544371-9-alberto.milone@canonical.com
State New
Headers show
Series Update the NVIDIA 455 driver | expand

Commit Message

Alberto Milone Nov. 3, 2020, 5:31 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 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/debian/control.d/meta-nvidia b/debian/control.d/meta-nvidia
index b57e2ad..9ae7138 100644
--- a/debian/control.d/meta-nvidia
+++ b/debian/control.d/meta-nvidia
@@ -15,7 +15,7 @@  Package: linux-modules-nvidia-450-gcp${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@-gcp (= ${binary:Version}),
@@ -28,7 +28,7 @@  Package: linux-modules-nvidia-455-gcp${variant:suffix}
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: kernel
-Provides: ${dkms:nvidia-455-modules}
+Provides: ${dkms:nvidia-455-modules}, nvidia-prebuilt-kernel
 Depends:
  ${misc:Depends},
  linux-modules-nvidia-455-@ABI@-gcp (= ${binary:Version}),
@@ -41,7 +41,7 @@  Package: linux-modules-nvidia-418-server-gcp${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@-gcp (= ${binary:Version}),
@@ -54,7 +54,7 @@  Package: linux-modules-nvidia-440-server-gcp${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@-gcp (= ${binary:Version}),
@@ -67,7 +67,7 @@  Package: linux-modules-nvidia-450-server-gcp${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@-gcp (= ${binary:Version}),