mbox series

[0/10,G/H,SRU,generic/aws/azure/gcp/oracle,L-R-M] Update the NVIDIA 455 driver

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

Message

Alberto Milone Nov. 3, 2020, 5:31 p.m. UTC
Update the NVIDIA 455 driver and drop the 435 series.

Also, provide a new virtual package, so that packagers
can specify a dependency on signed modules (as opposed to
the DKMS packages).

Each couple of patches covers one flavour: generic, aws, azure,
gcp, oracle.

This requires updating the debian/dkms-versions to match what is
in -proposed.

BugLink: https://bugs.launchpad.net/bugs/1902093

Signed-off-by: Alberto Milone <alberto.milone@canonical.com>

--
2.25.1

Comments

Stefan Bader Nov. 4, 2020, 2:37 p.m. UTC | #1
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
More or less agree but the transitional file should be better named
migrate-nvidia-435. Reason is that if named transitionals it will be handled
incorrectly if your variant does not contain --. Also I would not put
dkms-versions into the lrm patch. This is matched anyway to what the kernel tree
contains when we crank.

-Stefan
Alberto Milone Nov. 4, 2020, 3:36 p.m. UTC | #2
On 04/11/2020 15:37, Stefan Bader wrote:
> On 03.11.20 18:31, Alberto Milone wrote:
>> Update the NVIDIA 455 driver and drop the 435 series.
>>
>> Also, provide a new virtual package, so that packagers
>> can specify a dependency on signed modules (as opposed to
>> the DKMS packages).
>>
>> Each couple of patches covers one flavour: generic, aws, azure,
>> gcp, oracle.
>>
>> This requires updating the debian/dkms-versions to match what is
>> in -proposed.
>>
>> BugLink: https://bugs.launchpad.net/bugs/1902093
>>
>> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
>>
>> --
>> 2.25.1
>>
> More or less agree but the transitional file should be better named
> migrate-nvidia-435. Reason is that if named transitionals it will be handled
> incorrectly if your variant does not contain --. Also I would not put
> dkms-versions into the lrm patch. This is matched anyway to what the kernel tree
> contains when we crank.
> 
> -Stefan
> 

Maybe we should revisit the way we handle transitionals, so that it is
consistent across all the variants.
Stefan Bader Nov. 4, 2020, 3:46 p.m. UTC | #3
On 04.11.20 16:36, Alberto Milone wrote:
> 
> 
> On 04/11/2020 15:37, Stefan Bader wrote:
>> On 03.11.20 18:31, Alberto Milone wrote:
>>> Update the NVIDIA 455 driver and drop the 435 series.
>>>
>>> Also, provide a new virtual package, so that packagers
>>> can specify a dependency on signed modules (as opposed to
>>> the DKMS packages).
>>>
>>> Each couple of patches covers one flavour: generic, aws, azure,
>>> gcp, oracle.
>>>
>>> This requires updating the debian/dkms-versions to match what is
>>> in -proposed.
>>>
>>> BugLink: https://bugs.launchpad.net/bugs/1902093
>>>
>>> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
>>>
>>> --
>>> 2.25.1
>>>
>> More or less agree but the transitional file should be better named
>> migrate-nvidia-435. Reason is that if named transitionals it will be handled
>> incorrectly if your variant does not contain --. Also I would not put
>> dkms-versions into the lrm patch. This is matched anyway to what the kernel tree
>> contains when we crank.
>>
>> -Stefan
>>
> 
> Maybe we should revisit the way we handle transitionals, so that it is
> consistent across all the variants.
> 
I could say as well that maybe we should just name those files differently. If
you check previous releases that is mostly done that way...
Stefan Bader Nov. 4, 2020, 3:50 p.m. UTC | #4
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
Provided that whoever applies things should rather
- strip out the changes to dkms.versions
- rename the transitional file

Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kleber Sacilotto de Souza Nov. 6, 2020, 8:29 a.m. UTC | #5
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
> 

With the fixups mentioned by Stefan:

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Stefan Bader Nov. 11, 2020, 1:22 p.m. UTC | #6
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
Applied to groovy-lrm/master. Thanks.

-Stefan
Kleber Sacilotto de Souza Nov. 13, 2020, 6:15 p.m. UTC | #7
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
> 

Applied to groovy/linux-restricted-modules-aws.

Thanks,
Kleber
Kleber Sacilotto de Souza Nov. 13, 2020, 6:26 p.m. UTC | #8
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
> 

The patches for the derivatives are not removing the -435 binary packages
(linux-modules-nvidia-435-@ABI@-*) from debian/control.d/nvidia. This
also needs to be done manually when applying.

Kleber
Kleber Sacilotto de Souza Nov. 16, 2020, 1:05 p.m. UTC | #9
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
> 

Applied to groovy/linux-restricted-modules-gcp.

Thanks,
Kleber
Kleber Sacilotto de Souza Nov. 16, 2020, 1:38 p.m. UTC | #10
On 03.11.20 18:31, Alberto Milone wrote:
> Update the NVIDIA 455 driver and drop the 435 series.
> 
> Also, provide a new virtual package, so that packagers
> can specify a dependency on signed modules (as opposed to
> the DKMS packages).
> 
> Each couple of patches covers one flavour: generic, aws, azure,
> gcp, oracle.
> 
> This requires updating the debian/dkms-versions to match what is
> in -proposed.
> 
> BugLink: https://bugs.launchpad.net/bugs/1902093
> 
> Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
> 
> --
> 2.25.1
> 
> 

Applied to groovy/linux-restricted-modules-azure.

Thanks,
Kleber