Kernel plugin: reapplying missed fixes
Metadata
Current evaluation
Merged PR #4057 fixed kernel-plugin initramfs handling for empty module lists, wildcard overlays, and UC20 module installation, clarified defaults, and updated tests.
Resolution: closed resolved
Reason: PR #4057 was merged as commit 15e463cb8, delivering the listed kernel-plugin fixes, documentation improvements, and updated unit tests.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Multiple
- fix crash if there are no defined kernel modules to be included in initramfs
- improve documentation of multiple options by clarifying default values
- fix warning and occasional error reported when linking initramfs overlays with wild cards
- address limitation of ubuntu-core-initramfs for uc20 when installing kernel modules
- updated unit tests for the above changes
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4057 fixed kernel-plugin initramfs handling for empty module lists, wildcard overlays, and UC20 module installation, clarified defaults, and updated tests. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged kernel plugin fixes for empty module lists, wildcard initramfs overlays, UC20 kernel-module handling, option docs, and unit tests in snapcraft#4057 (commit 15e463cb8). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4057 as commit 15e463cb8, restoring kernel plugin fixes for empty module sets, option docs, overlay wildcards, and UC20 initramfs handling. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after applying missed kernel plugin fixes: crash prevention, docs, warnings, and Ubuntu Core 20 initramfs improvements. Approved, passed CI, and merged with updated unit tests. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after retriggering tests. Applied missed kernel plugin fixes including an initramfs crash fix, documentation updates, overlay warning resolution, uc20 module installation limit handling, and updated unit tests. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3998 Kernel plugin: multiple fixes | snapcraft | merged | Merged in #3998, fixing #3973's kernel-plugin regression, empty initramfs module crashes, wildcard overlay link errors, documentation, and tests; #4057 later reapplied missed fixes. | |
| #476 kernel plugin: iterate over modules to add to initrd | snapcraft | merged | Kernel plugin now iterates over required modules when assembling the initrd; PR #476 was merged as commit 53941d2b0, resolving LP #1572118. | |
| #5814 feat(plugins): add kernel and initrd plugins | snapcraft | merged | Merged #5814 in 8f56d299d, adding a reworked post-core18 kernel plugin and a new initrd/UKI plugin; it supersedes #4302. | |
| #837 kernel plugin: allow collecting the same mod deps | snapcraft | merged | Merged PR #837 in commit 2e9e4b667, deduplicating kernel-module dependencies with a set so shared dependencies are not copied twice into the initrd. | |
| #3973 kernel plugin: do not copy extra-modules.conf | snapcraft | merged | Merged to stop copying a missing extra-modules.conf, then reverted by #3998 because it dropped configured initramfs modules; #3998 instead ensured an empty file was always created. | |
| #6425 fix(plugins/kernel): handle usrmerge | snapcraft | closed | Merged as be405aad6 via #6425, updating kernel-plugin paths to support usrmerged Linux packages and fix core26 build failures. | |
| #5437 Adding initrd plugin supporting UC20+ | snapcraft | closed | kubiko's initrd plugin PR (kernel .ko staging, firmware, EFI kernel images) sat unreviewed for ~1yr with failing tests/lint and was closed unmerged as superseded by canonical/snapcraft#5814, merged as 8f56d299d. |