← Back to issue list

snapcraft kernel plugin needs to check compression method of the initrd before trying to unpack it

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1569337
Type
issue
State
closed
Author
~ogra
Labels
Created
Updated
Closed

Current evaluation

Closed without comments or resolution. The request to dynamically detect initrd compression in the snapcraft kernel plugin was abandoned or superseded by upstream changes.

Suggested action:

No scores available.

Issue body

when building a kernel snap, snapcraft pulls the initrd out of an os snap package. with the dropping of the ubuntu-core-generic-initrd package this means the initrd.img is now using teh same compression method like the rest of the world ... which is lzma the snapcraft kernel plugin should run something like "file usr/lib/ubuntu-core-generic-initrd/initrd.img-core" and select the right decompressor based on the output.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without comments or resolution. The request to dynamically detect initrd compression in the snapcraft kernel plugin was abandoned or superseded by upstream changes.
qwen/qwen3.6-35b-a3b Closed without resolution or comments. The report indicated snapcraft's kernel plugin failed to handle lzma-compressed initrd.img, recommending automatic decompressor detection based on file type.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1627923 kernel plugin initrd packaging fails when kernel modules have common dependencies snapcraft (launchpad) closed Snapcraft kernel plugin initrd packaging failed when shared module dependencies triggered a file exists error. The report was closed without comments or resolution, indicating it was abandoned.
74%
#1567564 kernel plugin should use initrd from /boot in the os snap, not from /usr/lib snapcraft (launchpad) closed Closed without resolution. The proposal to update the snapcraft kernel plugin to source initrd from /boot instead of /usr/lib was abandoned or superseded by later changes, leaving the legacy duplication in place.
73%