APPLIED: [kernel-snaps-uc22][PATCH v3 0/1] add build-time check for nvidia firmware
Juerg Haefliger
juerg.haefliger at canonical.com
Fri Jan 17 14:20:47 UTC 2025
Applied to kernel-snaps-uc22, pc branch.
...Juerg
> BugLink: https://bugs.launchpad.net/bugs/2089509
>
> [Changes from v2 to v3]
> - Checking for firmware requirements mentioned in the module instead of
> checking driver versions.
>
> [Changes from v1 to v2]
> - Changed version check to explicitly compare driver versions.
>
> [Impact]
> This adds a test preventing pc-kernel builds from succeeding
> if nvidia firmware isn't present in the snap at the end of
> the build stage. This is caused by a version mismatch between the nvidia
> firmware and kernel module packages. This patch checks for required
> files by the nv.o module and causes the build to fail if they don't
> exist.
>
> [Fix]
> The snap build fails if the verison of nv.o does not match the version
> number of a firmware file picked from $SNAPCRAFT_STAGE/firmware/nvidia.
>
> [Regression Potential]
> Regression potential is low, as this should only affect
> build-time behavior.
>
> Aaron Jauregui (1):
> snapcraft.yaml: Add check for nvidia firmware files
>
> snapcraft.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250117/42a999e0/attachment.sig>
More information about the kernel-team
mailing list