← Back to issue list

feat: add build-base to kernel snaps

View original Github issue

Metadata

Project
snapcraft
Number
#6426
Type
pull request
State
closed
Author
mr-cal
Labels
PR: Rebase PR: Run Manual Spread
Created
Updated
Closed

Current evaluation

Merged PR #6426 (commit dd924c747), adding build-base to kernel snap metadata so users can verify build-environment and target-system compatibility.

Resolution: closed resolved

Reason: PR #6426 was merged, resolving PF-6859/SNAPCRAFT-1382. Commit dd924c747 adds build-base to generated kernel snap metadata.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Kernel snaps now include the build-base in `meta/snap.yaml`. This allows users to verify compatibility between the kernel's build environment and the target system. Counterpart PR for review-tools: https://code.launchpad.net/~mr-cal/review-tools/+git/review-tools/+merge/511647 (PF-6859) (SNAPCRAFT-1382) --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #6426 (commit dd924c747), adding build-base to kernel snap metadata so users can verify build-environment and target-system compatibility.
stealth/space-bunny-alpha — closed resolved Merged canonical/snapcraft#6426, adding build-base to kernel snap metadata for build/target compatibility checks (commit dd924c747).
qwen/qwen3.6-35b-a3b
Impact: 45
Quick Win: 15
Complexity: 15
Confidence: 65
Actionability: 40
needs review Adds build-base to kernel snaps so users can verify compatibility between build environment and target system. Open, 0 reviewers, CI lint check failing.

Update history

Date Change
closed
updated
updated
updated
updated
updated
updated
updated
updated
created

Related work

  • Related To: snapcraft#4914 (confidence 90%)

    Earlier merged work added interim base and build-base handling for kernel snaps.

  • Related To: snapcraft#4868 (confidence 85%)

    Earlier issue established support for specifying build-base in kernel snaps.

Related issues

Issue Project State Summary Similarity
#4868 Allow specifying build-base in kernel snap snapcraft closed Kernel snaps gained configurable build-base support; merged PR #4914 fixed #4868 by adding interim kernel-snap bases and cross-craft-name documentation.
85%
#4914 feat: allow interim bases for kernel snaps snapcraft merged Merged PR #4914 added interim base/build-base support for kernel snaps, updated documentation and spread tests, and fixed #4868.
82%
#2700 schema: build-base support for the kernel type snapcraft merged Merged in #2700 as c360ffab6, adding build-base schema support for kernel snaps while allowing them to omit base until hooks exist.
78%
#4580 fix: do not propagate build-base to snap.yaml snapcraft merged Merged #4580 (d4e948f33), preventing build-base from being propagated into generated snap.yaml files.
74%
#4983 Install base snap if declared as `build-base` snapcraft closed Enhancement request to install a declared `build-base` snap into the build environment was closed without implementation; maintainer deferred it to interim-base kernel snap support (#4878), and the reporter agreed he had worked around it.
73%
#1794791 Update the kernel plugin to be base aware snapcraft (launchpad) closed Kernel and KBuild plugins gained base support via merged PR snapcore/snapcraft#2368 (commit ddbda36b5).
72%
#3014 meta: migrate get_build_base to Snap snapcraft merged Merged in snapcraft#3014 via commit 09be6bb53, moving get_build_base from Projectinfo to Snap and simplifying tests to use Snap metadata instead of self.project.info.
71%
#2623 build environment: detect base type and use name snapcraft merged Merged #2623, adding build-base support so snaps with type: base use build-base or name to select their build environment.
71%
#4900 docs: add explanation, reference, and how to for bases snapcraft merged PR merged as commit 91fa63c47, adding explanation, reference and how-to docs pages for bases/build-bases (+369 lines, 8 files) to support documenting kernel snap builds (CRAFT-3083).
71%
#4068 meta: allow support for `build-base: devel` snapcraft merged Merged PR snapcore/snapcraft#4068 added build-base: devel support, selecting Ubuntu devel images and APT repositories and setting grade to devel.
70%