← Back to issue list

plugins(ubuntu-kernel): Add new plugin for Ubuntu kernels

View original Github issue

Metadata

Project
snapcraft
Number
#5640
Type
pull request
State
merged
Author
stewarthore
Labels
Type: Enhancement PR: Squash PR: Run Manual Spread
Created
Updated
Closed

Current evaluation

Merged via #5640: added the ubuntu-kernel plugin for source, Ubuntu build-system, and prebuilt Debian-package kernel snaps alongside the existing kernel plugin.

Resolution: closed resolved

Reason: canonical/snapcraft#5640 was approved by three reviewers and merged with all reported CI checks passing and none pending. It directly delivers the requested Ubuntu kernel plugin.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged via #5640: added the ubuntu-kernel plugin for source, Ubuntu build-system, and prebuilt Debian-package kernel snaps alongside the existing kernel plugin.
stealth/space-bunny-alpha — closed resolved Merged the ubuntu-kernel plugin into the feature branch, standardizing Ubuntu kernel snap builds from source, Ubuntu build scripts, or prebuilt Debian packages.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#5640, adding an Ubuntu-kernel plugin for source, Ubuntu build-system, and prebuilt Debian-package kernel snaps alongside the existing kernel plugin.
stealth/space-bunny-alpha — closed resolved Merged PR #5640 adds an ubuntu-kernel plugin for building from source, through the Ubuntu kernel build process, or from prebuilt Debian packages.
stealth/space-bunny-alpha — closed resolved Merged a new ubuntu-kernel plugin alongside the existing kernel plugin, supporting source, Ubuntu build-system, and prebuilt Debian package builds with Jinja2-generated scripts.
stealth/space-bunny-alpha — closed resolved PR #5640 was squash-merged into a feature branch, adding an Ubuntu kernel plugin for builds from source, Ubuntu’s build process, or prebuilt deb packages. All CI checks passed; unit tests were deferred to follow-up work.
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.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#4302 (confidence 95%)

    Adjacent kernel and initrd plugin split discussed during review.

  • Related To: canonical/snapcraft#5437 (confidence 95%)

    Upcoming UC20+ initrd plugin work discussed as integration-adjacent.

Related issues

Issue Project State Summary Similarity
#1552168 Add a kernel plugin snapcraft (launchpad) closed Kernel snap creation was implemented by merged canonical/snapcraft#366 (merge b7c1e8bbb, head 6da4ee672), adding kernel and kbuild plugins plus examples.
75%
#366 New plugin: kernel snapcraft merged Merged PR #366 by sergiusens into master via merge commit b7c1e8bbb (head commit 6da4ee672), adding the new kernel and kbuild snapcraft plugins with two example projects, closing LP #1552168.
71%
#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.
71%
#5980 docs: add documentation for ubuntu kernel plugin snapcraft merged Merged #5980 after three approvals, adding Ubuntu kernel plugin documentation and release-note updates across six files (+213/-20).
70%
#287 plugins: add kernel plugin implementation craft-parts closed Kernel plugin PR to craft-parts closed unmerged; maintainers said it is too snap-specific. Author moved it to Snapcraft as snapcraft#3922, merged and landed on main via snapcraft#4111.
70%