← Back to issue list

kernel plugin: add kmod as build-package

View original Github issue

Metadata

Project
snapcraft
Number
#2041
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

Merged a kernel plugin fix adding kmod as a build dependency and /sbin to PATH. This resolves missing modprobe errors in Launchpad builders by ensuring required tools are available during snap builds.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ----- Currently, in some cases, the kernel plugin shells out to modprobe. However, it doesn't ensure modprobe is actually present, which it isn't in the Launchpad builders. This PR fixes LP: [#1759592](https://bugs.launchpad.net/snapcraft/+bug/1759592) by adding kmod as a build-package to ensure modprobe is always available. `/sbin` is also added to the PATH, in case it's not already there.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a kernel plugin fix adding kmod as a build dependency and /sbin to PATH. This resolves missing modprobe errors in Launchpad builders by ensuring required tools are available during snap builds.
qwen3.6-35b-a3b-mtp-q6 Merged a fix adding kmod as a build dependency and /sbin to PATH in the kernel plugin. This ensures modprobe availability during builds, resolving Launchpad builder failures tracked in LP: #1759592.
qwen3.6-35b-a3b-mtp-q6 Merged a fix adding kmod as a build dependency and /sbin to PATH in the kernel plugin. This ensures modprobe availability during builds, resolving Launchpad builder failures tracked in LP: #1759592.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1115 kernel plugin: fix kernel snap layout snapcraft merged Merged fix correcting the kernel plugin snap layout for firmware and modules directories, updating required package lists, and addressing review feedback. Approved, passed CI, and merged after CLA verification.
74%
#2566 kernel plugin: correctly download the os.snap snapcraft merged Merged into master. Resolved kernel plugin os.snap download failure by adding missing API parameters. Relocated tests to spread for cross-base coverage. Approved, passed CI, and integrated.
70%