diff mbox series

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

Message ID 20201103173129.544371-11-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(-)

Comments

Stefan Bader Nov. 16, 2020, 2:07 p.m. UTC | #1
On 03.11.20 18:31, Alberto Milone wrote:
> 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>
> ---

Applied to groovy/lrm/oracle. Thanks.

-Stefan

>  debian/control.d/meta-nvidia | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> 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-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-@ABI@-oracle (= ${binary:Version}),
> @@ -28,7 +28,7 @@ Package: linux-modules-nvidia-455-oracle${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@-oracle (= ${binary:Version}),
> @@ -41,7 +41,7 @@ Package: linux-modules-nvidia-418-server-oracle${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@-oracle (= ${binary:Version}),
> @@ -54,7 +54,7 @@ Package: linux-modules-nvidia-440-server-oracle${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@-oracle (= ${binary:Version}),
> @@ -67,7 +67,7 @@ Package: linux-modules-nvidia-450-server-oracle${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@-oracle (= ${binary:Version}),
>
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-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-@ABI@-oracle (= ${binary:Version}),
@@ -28,7 +28,7 @@  Package: linux-modules-nvidia-455-oracle${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@-oracle (= ${binary:Version}),
@@ -41,7 +41,7 @@  Package: linux-modules-nvidia-418-server-oracle${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@-oracle (= ${binary:Version}),
@@ -54,7 +54,7 @@  Package: linux-modules-nvidia-440-server-oracle${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@-oracle (= ${binary:Version}),
@@ -67,7 +67,7 @@  Package: linux-modules-nvidia-450-server-oracle${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@-oracle (= ${binary:Version}),