meta: add support for `kernel.yaml` for kernel snaps
Metadata
Current evaluation
Merged changes adding support for meta/kernel.yaml in kernel snaps. Enables shipping DTBs with pi-kernel. Approved by two reviewers, passed CI checks, and modified two files with 20 additions.
Suggested action: —
No scores available.
Issue body
Snapd supports the "kernel.yaml" file for kernel snaps since
some versions. The file is used to ship boot assets that are
part of the kernel.
The first PR with support can be found here:
https://github.com/snapcore/snapd/pull/9150
This commit adds support for including a `kernel.yaml` as
meta/kernel.yaml in the snap. This will help the pi-kernel
to ship their DTBs as part of the kernel snap.
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `./runtests.sh static`? Yes-ish, on 20.10 but the failures were unrelated to my change
- [x] Have you successfully run `./runtests.sh tests/unit`? Yes-ish I ran python3 -m unittest tests.unit.test_meta the entire suite had unrelated failures AFAICT
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes adding support for meta/kernel.yaml in kernel snaps. Enables shipping DTBs with pi-kernel. Approved by two reviewers, passed CI checks, and modified two files with 20 additions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds meta/kernel.yaml support to kernel snaps, enabling direct packaging of boot assets like device tree blobs. Aligns with snapd's kernel.yaml handling. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged: adds meta/kernel.yaml support to kernel snaps, enabling packaging of boot assets like device tree blobs. Implemented by mvo5 to align with snapd kernel.yaml handling. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.