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

Paolo Pisati paolo.pisati at canonical.com
Fri Nov 6 12:06:23 UTC 2020


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 d7e7b72..af1f781 100644
--- a/debian/control.d/meta-nvidia
+++ b/debian/control.d/meta-nvidia
@@ -15,7 +15,7 @@ Package: linux-modules-nvidia-435-oracle${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@-oracle (= ${binary:Version}),
@@ -28,7 +28,7 @@ Package: linux-modules-nvidia-450-oracle${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@-oracle (= ${binary:Version}),
-- 
2.27.0




More information about the kernel-team mailing list