plugins: kernel: split kernel plugin into kernel and initrd plugins
Metadata
Current evaluation
Splitting the kernel plugin into separate kernel and initrd components was closed as superseded by PR #5814. Review discussions addressed cross-compilation and LXD setup, but the changes were ultimately replaced by a newer implementation.
Suggested action: —
No scores available.
Issue body
kernel plugin builds two components, kernel and initrd
While initrd is dependent on the kernel, it is a separate component.
Separating those 2 steps into 2 own plugins will allow greater reuse of the
kernel plugin as well as each plugin being owned by respective teams.
Initrd steps will always depend on the kernel step, but with
the plugin separation, prebuilt kernel binaries can be used with the initrd plugin
In the future inird might even become the official way to build kernel snap
from kernel deb packages.
For simplicity now ignoring signed kernels...
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Splitting the kernel plugin into separate kernel and initrd components was closed as superseded by PR #5814. Review discussions addressed cross-compilation and LXD setup, but the changes were ultimately replaced by a newer implementation. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Splitting the kernel plugin into separate kernel and initrd components was closed as superseded by pull request #5814. Review feedback covered cross-compilation and module handling prior to closure. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Splitting the kernel plugin into separate kernel and initrd plugins was closed as superseded by PR #5814. Review discussions covered cross-compilation and LXD setup, but the changes were ultimately replaced by a newer implementation. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6102 feat: kernel|initrd plugins: extend and improve behavior | snapcraft | closed | Superseded by PR #6110. The changes were reverted to prevent conflicts with a newly merged kernel plugin that would break existing users. The author closed this PR and redirected development to the replacement. | |
| #5814 feat(plugins): add kernel and initrd plugins | snapcraft | merged | Merged into a feature branch after simplifying kernel and initrd plugin logic and addressing review feedback. Unrelated spread test failures prompted a temporary merge to prevent staleness, with full integration pending upstream fixes. | |
| #457 kernel plugin: fix decompressio of lzma initrd (and others) | snapcraft | closed | Superseded by #463. The pull request was closed to address the lzma initrd decompression fix through an alternative PR. | |
| #6255 Feature/kernel initrd plugin merge | snapcraft | merged | Merged after resolving conflicts and aligning with HEAD. Integrates kernel initrd plugin support, requires PR #6254, approved by two reviewers, and passed CI checks. | |
| #6116 feat: kernel|initrd plugins: extend and improve behavior | snapcraft | merged | Merged after review and testing. Extended kernel and initrd plugins by migrating fetch logic, adding Ubuntu release and binary package options, and supporting extra kernel tools. Removed ZFS/DKMS support in favor of documentation. Supersedes #6102. | |
| #1207 kernel plugin: stop duplicating initrd and image file, use symlinks f… | snapcraft | closed | Closed and abandoned. The change proposed using symlinks for kernel and initrd files to avoid duplication. Initial x86_64 tests passed, but it broke the Snapdragon snap. Lacking time to debug the incompatibility, the author closed the request without merging. | |
| #6254 feat(kernel,initrd): extend plugins with new options, stabilize | snapcraft | merged | Merged after approval. Extended the kernel plugin with new options, stabilized the initrd plugin, improved documentation, and added tests. Resolved a temporary Resolute tarball naming divergence. Core CI checks passed. |