[PATCH 0/1][SRU][Unstable/Mantic] Add XB-Modaliases field for standalone linux-modules-foo-* packages

Stefan Bader stefan.bader at canonical.com
Fri Oct 13 08:50:00 UTC 2023


On 13.10.23 06:37, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2021740
> 
> [Impact]
> 
> Need modaliases info for ubuntu-drivers integration.
> 
> [Fix]
> 
> This Ubuntu sauced patch copies modaliases info from source dkms deb packages to
> standalone `linux-modules-<mod>-<version>-<variant>` ones if available.
> 
> [Test Case]
> 
> ```bash
> $ sudo add-apt-repository ppa:canonical-hwe-team/experimental-unstable
> $ apt-cache show linux-modules-ivsc-6.6.0-9005-generic | grep Modaliases
> Modaliases: mei-vsc(acpi*:INTC1009:*, acpi*:INTC1058:*, acpi*:INTC1094:*, acpi*:INTC10D0:*)
> ```
> 
> [Where problems could occur]
> 
> With **XB-Modaliases** field added to deb control, `ubuntu-drivers` will then
> give a list of installable `linux-modules-<mod>-<version>-<variant>` candidates
> on available platforms. So far based on current `debian/dkms-versions`, the only
> one will be enabled will be ivsc-driver, and ipu6-drivers to be SRUed soon.
> 
> [Other Info]
> 
> To nominate Unstable/Mantic/Lunar/OEM-6.5/OEM-6.1.
> 
> Note that this adds a build-dep to dh-modaliases from universe pocket.
> 
> You-Sheng Yang (1):
>    UBUNTU: [Packaging] support modaliases for standalone dkms packages
> 
>   debian.master/control.stub.in        |  1 +
>   debian/control.d/flavour-module.stub |  1 +
>   debian/rules                         |  1 +
>   debian/rules.d/2-binary-arch.mk      | 10 +++++++++-
>   debian/scripts/dkms-build            |  9 +++++++++
>   5 files changed, 21 insertions(+), 1 deletion(-)
> 

I can see this also submitted to Lunar. But why is this done now and not 
while Mantic was still open in development? This might not be the most 
complex change but regardless I think this should first be established 
in development and only once everything has settled retrofit into stable.

-- 
- Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231013/f6e777ff/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/20231013/f6e777ff/attachment-0001.sig>


More information about the kernel-team mailing list