plugins(ubuntu-kernel): Add new plugin for Ubuntu kernels
Metadata
Current evaluation
Merged to a feature branch. Adds a new Ubuntu kernel plugin standardizing local and product builds. Approved by three reviewers with passing CI. Squash-merged per request, deferring unit tests to a follow-up PR. Implements KE030 spec.
Suggested action: —
No scores available.
Issue body
The new plugin standardises the kernel build process so it can be used for local development and product kernels alike. The plugin supports building an Ubuntu kernel from source, using the Ubuntu kernel build process, or from a prebuilt Ubuntu kernel debian package.
This plugin can sit alongside the existing kernel plugin. The new plugin supports creating Ubuntu kernel snaps, while the existing plugin supports creating custom kernel builds using the non-Ubuntu specific Linux kernel build process.
The plugin uses Jinja2 templates to generate the kernel build scripts. The generated scripts have been manually checked with `shellcheck -x`.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to a feature branch. Adds a new Ubuntu kernel plugin standardizing local and product builds. Approved by three reviewers with passing CI. Squash-merged per request, deferring unit tests to a follow-up PR. Implements KE030 spec. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to feature branch. Introduces a new Ubuntu kernel plugin standardizing builds via Jinja2 templates per KE030 spec. Tests and documentation deferred to follow-up PRs. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Squash-merged to a feature branch. The new Ubuntu kernel plugin standardizes builds using Jinja2 templates and implements the KE030 specification. Reviewers approved the code, deferring unit test coverage to a follow-up PR. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #4111 plugins: merge kernel plugin | snapcraft | merged | Merged craft-parts and v2 kernel plugins from a feature branch into main. Approved by one reviewer, passed CI checks, and updated 27 files. Codecov reported a 0.12% coverage increase with 98.32% diff coverage. | |
| #3922 Add v2 and v3 kernel plugins | snapcraft | merged | Merged into the feature/kernel-plugin branch, introducing v2 and v3 kernel plugins for Ubuntu Core builds. Maintainer published the changes to latest/edge/kernel-plugin as an initial step pending full review. Test coverage was updated and improved. | |
| #995 plugins: update kernel plugin to use get_build_properties() | snapcraft | merged | Merged update to the kernel plugin switching it to get_build_properties(), resolving Launchpad bug #1650597. Approved by one reviewer, passed CI, and modified four files with a net coverage increase. | |
| #5980 docs: add documentation for ubuntu kernel plugin | snapcraft | merged | Merged documentation update adding guides for the Ubuntu kernel plugin. Approved by three reviewers following successful integration and security checks. The commit modifies six files, adding 213 lines and removing 20. | |
| #3998 Kernel plugin: multiple fixes | snapcraft | merged | Merged multiple kernel plugin fixes addressing a regression, a crash when no kernel modules are defined, documentation updates, and initramfs overlay warnings. Approved by one reviewer and passed CI checks. | |
| #366 New plugin: kernel | snapcraft | merged | Merged into master, introducing a new kernel plugin with two examples. Jointly developed by Alexander Sack and Sergio Schvezov, the update maintained 95% coverage. After reviewer approval, local test issues were resolved and the code integrated. | |
| #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. | |
| #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. | |
| #6284 feat: merge feature/kernel initrd plugin into main | snapcraft | merged | Merged into main following two reviewer approvals. Integrates a feature branch adding kernel and initrd plugins for base: core22 and higher. The change spans 32 files, adding 8281 lines and removing 6257. |