← Back to issue list

schema: build-base support for the kernel type

View original Github issue

Metadata

Project
snapcraft
Number
#2700
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #2700 as c360ffab6, adding build-base schema support for kernel snaps while allowing them to omit base until hooks exist.

Resolution: closed resolved

Reason: PR #2700 was approved and merged as commit c360ffab6, implementing kernel-snap support for build-base and exempting kernel snaps from requiring a base pending hook support.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Enabled building these snap types using the build-base keyword. It has been determined that until hooks are implemented for the kernel type, that these snaps should not require a base. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #2700 as c360ffab6, adding build-base schema support for kernel snaps while allowing them to omit base until hooks exist.
stealth/space-bunny-alpha — closed resolved Merged as snapcore/snapcraft#2700 (c360ffab6), enabling build-base for kernel snaps while exempting them from requiring a base until kernel hooks exist.
qwen/qwen3.6-35b-a3b — — Merged into master. Adds build-base schema support for kernel type snaps, noting they do not require a base until hooks are implemented. Included in the next release, with a reviewer noting a related dependency PR is also needed.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Added build-base support for kernel type snaps, removing the mandatory base requirement until hooks are implemented. Approved for the next release.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#2619 (confidence 95%)

    A reviewer identified this unmerged PR as another change needed for the release.

Related issues

Issue Project State Summary Similarity
#2689 schema: build-base support for the snapd type snapcraft merged Merged PR #2689 added schema support for using build-base with snapd and base snap types.
83%
#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.
81%
#6426 feat: add build-base to kernel snaps snapcraft closed Merged PR #6426 (commit dd924c747), adding build-base to kernel snap metadata so users can verify build-environment and target-system compatibility.
78%
#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.
73%
#1819196 support for build-base snapcraft (launchpad) closed Build-base support was implemented in Snapcraft commit 5dea8acba; Launchpad stable revision r19009 added remote support, and eligible snap types were confirmed working.
73%
#2368 {kbuild,kernel} plugin: add support for bases snapcraft merged Merged #2368 as ddbda36b5, adding core16/core18 base support to the KBuild and inherited Kernel plugins and resolving LP bugs #1794790/#1794791.
72%
#36 project: support build-base and allow 'bare' bases rockcraft merged Merged in #36 as commit 5a27aca4, adding build-base, bare bases, and Ubuntu 22.04 support; follow-up commit d1a5f04c corrected a bare-base rebuild bug.
71%
#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.
71%
#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.
71%