← Back to issue list

kernel plugin: kernel targets depending on debarch

View original Github issue

Metadata

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

Current evaluation

Merged as f0a19ebcc, adding architecture-specific kernel image targets so one snapcraft.yaml builds amd64, arm64 and armhf kernels.

Resolution: closed resolved

Reason: PR #689 was merged as commit f0a19ebcc. The resulting change selects kernel targets by Debian architecture, and Launchpad testing confirmed builds for amd64, arm64 and armhf.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This allows using the same snapcraft.yaml to build kernels for different arches as they have different image targets. LP: #1604801 Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as f0a19ebcc, adding architecture-specific kernel image targets so one snapcraft.yaml builds amd64, arm64 and armhf kernels.
stealth/space-bunny-alpha — closed resolved Merged as commit f0a19ebcc: the kernel plugin now selects kernel image targets from the Debian architecture, letting one snapcraft.yaml build amd64, arm64 and armhf kernels. Fixes LP #1604801.
stealth/space-bunny-alpha — closed resolved Merged #689 as commit f0a19ebcc, selecting kernel image targets by Debian architecture so one snapcraft.yaml can build amd64, arm64 and armhf kernels.
qwen/qwen3.6-35b-a3b — — Merged. Updates the kernel plugin to select image targets based on debarch, enabling multi-architecture kernel builds from a single snapcraft.yaml. Validated for amd64, arm64, and armhf.
qwen3.6-35b-a3b-mtp-q6 — — Merged. The kernel plugin now selects image targets based on debarch, allowing a single snapcraft.yaml to build kernels for multiple architectures. Successfully tested for amd64, arm64, and armhf before approval.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1604801 (confidence 100%)

    Launchpad bug #1604801 tracked selecting the correct kernel image target for each architecture and was resolved by this work.

Related issues

Issue Project State Summary Similarity
#1604801 kernel plugin: pick the correct kernel-image-target per architecture snapcraft (launchpad) closed Architecture-specific kernel image targets were merged in snapcraft PR #689 (f0a19ebcc), enabling one kernel snap definition to build amd64, arm64, and armhf.
87%
#1665659 kernel plugin: if kernel's target == NULL, use per-arch default target snapcraft (launchpad) closed Merged canonical/snapcraft#1209 (commit 2b6aee1e9), adding per-architecture kernel build targets when no target is configured.
80%
#1149 kernel plugin: if kernel's target == NULL, use per-arch default target snapcraft closed Closed unmerged: superseded by snapcraft PR #1209, merged as commit 2b6aee1e9, which adds per-arch kernel build targets (bzImage/zImage/Image.gz) plus unit tests for LP #1665659.
78%
#1209 kernel plugin: use default per arch targets. snapcraft merged Merged PR #1209 as commit 2b6aee1e9, adding architecture-specific kernel build targets when none is configured (LP #1665659).
76%
#1700069 kernel plugin: add implicit kernel targets for powerpc, ppc64el and s390x snapcraft (launchpad) closed Feature request to add implicit/default kernel build targets for powerpc, ppc64el and s390x was implemented in merged PR canonical/snapcraft#1377 (commit 6bcfc2ec4) and released in snapcraft 2.33; issue closed as fixed.
75%
#1377 kernel plugin: add default targets per powerpc, ppc64el and s390x snapcraft merged Merged as commit 6bcfc2ec4, adding default kernel targets for powerpc, ppc64el, and s390x.
72%
#1136 kernel plugin: if kernel's target == NULL, use per-arch default target snapcraft closed Closed unmerged; the equivalent kernel-plugin change was merged in #1209 as commit 2b6aee1e9, adding architecture-specific default build targets.
71%
#1148 kernel plugin: if dtb target == NULL and arch == (arm||arm64), build and install all dtbs snapcraft merged Merged PR #1148 (commit 24261779d), making the kernel plugin build and install all DTBs by default on ARM/ARM64 when no DTB target is set.
70%