Support `kernel.yaml` similar to `gadget.yaml`
Metadata
Current evaluation
Enhancement to handle kernel.yaml as a first-class metadata file (looked up alongside snap/snapcraft.yaml). Core support already exists (copied from project root to meta/ for core22 and mediated for core24+), but snap/kernel.yaml placement is unimplemented; design agreed with maintainer, tracked as CRAFT-3263.
Suggested action: keep open
Reason: The issue is labelled 'Status: Triaged, Type: Enhancement' and maintainer @mr-cal explicitly endorsed the design ('We can start with the same design as a snapcraft.yaml file where snapcraft first looks for snapcraft.yaml then looks for snap/snapcraft.yaml'), with the reporter agreeing to allow both locations plus a notice. The feature is only partially in place: snapcraft/parts/setup_assets.py:104 still reads only `project_dir / "kernel.yaml"` and snapcraft/services/package.py:123 (`_read_project_metadata_file`, package.py:539) likewise only looks in the project root, never `snap/` or `build-aux/snap/`, so the remaining ask (snap/kernel.yaml support) is still unimplemented and remains valid. The reporter's last comment states 'this issue is now basically identical to #4344', which is why the design is well-scoped but slightly ambiguous in ownership.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
30
Quick Win:
18
Complexity:
22
Confidence:
85
Actionability:
75
|
keep open | Enhancement to handle kernel.yaml as a first-class metadata file (looked up alongside snap/snapcraft.yaml). Core support already exists (copied from project root to meta/ for core22 and mediated for core24+), but snap/kernel.yaml placement is unimplemented; design agreed with maintainer, tracked as CRAFT-3263. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
17
Complexity:
30
Confidence:
80
Actionability:
80
|
keep open | Enhancement to support kernel.yaml in snap/ directory for consistency with snapcraft.yaml. Triaged, acknowledged by maintainer, still needs implementation. | |
| qwen/qwen3.8-27b |
Impact:
30
Quick Win:
22
Staleness:
75
Complexity:
25
Confidence:
88
Support Request:
10
|
close stale | Request to support kernel.yaml as a snap metadata file moved to meta/ by Snapcraft. Core feature implemented via PR #3464 and #6369; remaining gadget.yaml location work tracked in #4344. Inactive 461 days. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
75
Complexity:
45
Confidence:
70
Support Request:
10
|
keep open | Enhancement to support kernel.yaml as a metadata file in kernel snaps. Triaged and scoped, with maintainer design feedback provided. Currently awaiting implementation or further tracking. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
40
Confidence:
80
Support Request:
5
|
keep open | Enhancement to support kernel.yaml as a metadata file in kernel snaps, mirroring gadget.yaml handling. Triaged, with maintainer design feedback and backward compatibility discussion. Currently inactive but tracked alongside related issue 4344. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#4344
(confidence 85%)
Both files are handled by the same code paths (setup_assets.py:99-106 and package.py:89-123), so any fix must change both gadget.yaml and kernel.yaml lookup symmetrically.
-
Duplicate Of:
canonical/snapcraft#4344
(confidence 60%)
The author wrote 'Either way, this issue is now basically identical to #4344' and #4344 ('Treat the gadget.yaml like other snap meta files') is still open with the same unimplemented snap/-directory placement; both should be handled together, but neither has a merged fix so this one must stay open.
Related issues
No related issues found above the similarity threshold.