diff mbox series

[1/2] UBUNTU: [Packaging] NVIDIA -- provide the nvidia-prebuilt-kernel virtual package

Message ID 20201105161532.104184-2-paolo.pisati@canonical.com
State New
Headers show
Series Add the NVIDIA 455 series | expand

Commit Message

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

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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 debian/control.d/meta-nvidia | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/debian/control.d/meta-nvidia b/debian/control.d/meta-nvidia
index dd573df..6a4b5ba 100644
--- a/debian/control.d/meta-nvidia
+++ b/debian/control.d/meta-nvidia
@@ -15,7 +15,7 @@  Package: linux-modules-nvidia-435-azure${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@-azure (= ${binary:Version}),
@@ -28,7 +28,7 @@  Package: linux-modules-nvidia-450-azure${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@-azure (= ${binary:Version}),