← Back to issue list

feat(kernel,initrd): fix use of custom built ubuntu-core-initramfs de…

View original Github issue

Metadata

Project
snapcraft
Number
#6306
Type
pull request
State
merged
Author
kubiko
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #6306 (kubiko): kernel/initrd plugins now install the custom-built ubuntu-core-initramfs with `apt-get install` instead of `dpkg -i`, so missing dependencies resolve correctly and spread tests cover the package.

Resolution: closed resolved

Reason: The PR was merged with 2 approvals and no unresolved review comments (3 insertions, 2 deletions in one file), swapping `dpkg -i` for `apt-get install` of the custom ubuntu-core-initramfs in the kernel/initrd plugin code, fixing the dependency-resolution failure shown in the reporter's failed build log.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Small tweak to how the custom-built ubuntu-core-initramfs package is consumed. Current `dpkg -i` approach fails, as `dpkg` does not handle missing dependencies. `apt-get install` should always be used so dependencies are handled correctly. This also allows to capture more regression for the `ubuntu-core-initramfs` package when new snapcraft is linked to regression tests

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #6306 (kubiko): kernel/initrd plugins now install the custom-built ubuntu-core-initramfs with `apt-get install` instead of `dpkg -i`, so missing dependencies resolve correctly and spread tests cover the package.
stealth/space-bunny-alpha — closed resolved Merged PR #6306 replaces dpkg -i with apt-get install for custom ubuntu-core-initramfs, resolving missing dependencies and adding regression coverage.
qwen/qwen3.6-35b-a3b — — Merged fix for ubuntu-core-initramfs consumption by replacing dpkg -i with apt-get install to ensure proper dependency resolution and improve regression testing. Approved by reviewers and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix replacing dpkg -i with apt-get install for ubuntu-core-initramfs. This resolves dependency resolution failures during builds and improves regression testing. Approved after a contributor demonstrated a build failure.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#6254 feat(kernel,initrd): extend plugins with new options, stabilize snapcraft merged PR #6254 merged as commit 518476fc1, adding kernel/initrd plugin options, stability fixes, docs and a new kernel-deb spread test; later landed on main via #6284 (ceace05f3).
74%