[kernel-snaps-uc22][PATCH v3 0/1] add build-time check for nvidia firmware
Aaron Jauregui
aaron.jauregui at canonical.com
Mon Jan 13 23:18:45 UTC 2025
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(+)
--
2.43.0
More information about the kernel-team
mailing list