← Back to issue list

kernel plugin: change location where snapd deb is unpacked

View original Github issue

Metadata

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

Current evaluation

Merged PR #4200 updated the kernel plugin to unpack the snapd Debian package into ubuntu-core-initramfs's --root directory.

Resolution: closed resolved

Reason: PR #4200 was merged as commit c0e7fd9e6, resolving the path mismatch between the snapd package and the directory expected by ubuntu-core-initramfs.

Evaluated by: mr-cal-bot

No scores available.

Issue body

`ubnutu-core-initramfs` tool changed where `snap-boostrap` is fetched from. It assumes `snap-bootstrap` from passed `--root` to be used. Unpack the downloaded snapd debian package to the same directory where "ubnutu-core-initramfs" debian package is unpacked. This directory is already passed to the `ubnutu-core-initramfs` tool as `--root`

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #4200 updated the kernel plugin to unpack the snapd Debian package into ubuntu-core-initramfs's --root directory.
stealth/space-bunny-alpha — closed resolved Merged via #4200 in commit c0e7fd9e6, moving the kernel plugin’s snapd deb unpacking to the directory passed as ubuntu-core-initramfs’s --root.
qwen/qwen3.6-35b-a3b — — Merged into hotfix/7.4. The kernel plugin now unpacks the snapd deb package to match ubuntu-core-initramfs expectations. Approved, passed CI, and included unit test fixes.
qwen3.6-35b-a3b-mtp-q6 — — Merged into hotfix/7.4. The kernel plugin now unpacks the snapd deb package in the same directory as ubuntu-core-initramfs, aligning with snap-bootstrap's --root parameter. Unit tests were updated and the branch rebased prior to merge.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1567564 kernel plugin should use initrd from /boot in the os snap, not from /usr/lib snapcraft (launchpad) closed Kernel plugin initrd lookup was fixed by switching to /boot/initrd.img-core in snapcraft PR #1839, merged as commit aaf5e68b1.
73%
#1624 kernel plugin: use latest stable core snap snapcraft merged Merged PR #1624 via commit aa8a8429b, changing the kernel plugin to use the stable core snap instead of obsolete ubuntu-core and updating tests.
72%