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

Paolo Pisati paolo.pisati at canonical.com
Thu Nov 5 15:48:30 UTC 2020


From: Alberto Milone <alberto.milone at 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 at canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati at canonical.com>
---
 debian/control.d/meta-nvidia | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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




More information about the kernel-team mailing list