ACK/Cmnt: [SRU][M, J, F][PATCH 0/3] Cranky update-dkms-versions rollout

Stefan Bader stefan.bader at canonical.com
Mon Mar 4 08:43:12 UTC 2024


On 01.03.24 16:06, Roxana Nicolescu wrote:
> BugLink: https://bugs.launchpad.net/bugs/2055685
> 
> SRU Justification
> 
> [Impact]
> Having a common file for dkms-versions between main kernels and
> derivatives causes a lot of conflicts during rebase.
> Solution is to have a dkms-versions per kernels, under
> debian.<derivative>/dkms-version.
> 
> While at it, instead of running ./update-dkms-version script, cranky
> update-dkms-versions was introduced.
> 
> [Fix]
> This is needed only in the main kernels.
> 1. remove update-dkms-version script
> 2. rename debian/dkms-version with debian.master/dkms-versions
> 3. Replace debian/dkms-versions references in debian scripts and rules
> with $(DEBIAN)/dkms-versions
> The 3rd fix required separate patches because the scripts are a bit
> different.
> 
> Note for derivatives: These changes will be inherited from the parent
> during cranky rebase.
> The only change to the cranky process is: instead of using
> ./update-dkms-versions
> script, cranky-update-dkms-versions should be used
> 
> [Test]
> Build test on cbd. No issue found.
> 
> [Regression pottential]
> Owners have tried this last cycle in derivatives and no issues were
> found.
> We may see build failures due to wrong dkms versions, but it will be
> fixed along the way.
> 
> Roxana Nicolescu (3):
>    UBUNTU: [Packaging] remove update-dkms-versions
>    UBUNTU: Move debian/dkms-versions to debian.master/dkms-versions
>    UBUNTU: [Packaging] Replace debian/dkms-versions with $(DEBIAN)/dkms-versions
> 
Generally agree. One question about the script change for nvidia 
modules. The likely should copy into lrm but I am not sure it still is 
done that way.
The other thing is there is this other script (old) 
update-versions-dkms. That might be removed as well.

Acked-by: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 48643 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240304/33c97fab/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240304/33c97fab/attachment-0001.sig>


More information about the kernel-team mailing list