← 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. 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. Updates the kernel plugin to select image targets based on debarch, allowing a single snapcraft.yaml to build kernels for multiple architectures. Validated by Paolo and approved by maintainers.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1377 kernel plugin: add default targets per powerpc, ppc64el and s390x snapcraft merged Merged. Adds default kernel targets for powerpc, ppc64el, and s390x to the kernel plugin, matching existing arm and x86 behavior. Author confirmed successful testing and snap builds. Closes LP #1700069.
76%
#1665659 kernel plugin: if kernel's target == NULL, use per-arch default target snapcraft (launchpad) closed Fixed by implementing automatic fallback to per-architecture default kernel targets when unspecified. The plugin now selects bzImage for i386/amd64, zImage for arm, and Image.gz for arm64.
74%
#1209 kernel plugin: use default per arch targets. snapcraft merged Merged kernel plugin updates to use default per-architecture targets. The change modifies two files (+48/-5 lines) and addresses Launchpad bug #1665659.
73%
#1604801 kernel plugin: pick the correct kernel-image-target per architecture snapcraft (launchpad) closed Closed without resolution or implementation. The request for dynamic architecture-based kernel-image-target selection in the snapcraft kernel plugin was abandoned.
73%
#1148 kernel plugin: if dtb target == NULL and arch == (arm||arm64), build and install all dtbs snapcraft merged Merged. Modifies the kernel plugin to automatically build and install all device tree blobs for ARM and ARM64 architectures when the dtb target is unspecified. Approved by reviewer and integrated into the main branch.
72%
#1204 target-arch: decouple target arch from deb, and use a separate field … snapcraft merged Merged into master. Introduces a target field to decouple target from deb architecture, providing arch aliases for the kernel plugin. Approved, passed CI, and merged with 70 added lines across two files.
72%
#1149 kernel plugin: if kernel's target == NULL, use per-arch default target snapcraft closed Superseded by pull request #1209, which implements the per-arch default target logic, resolves related issues, and includes required unit tests.
71%