kernel plugin should use initrd from /boot in the os snap, not from /usr/lib
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
until today we used to generate the generic initrd that snapcraft uses for the kernel plugin from a deb package.
as of today we now generate the generic intird as /boot/initrd.img-core as part of the os snap...
for backwards compatibility the initrd is copied to /usr/lib/ubuntu-core-generic-initrd/initrd.img-core currently.
long term we would like to get rid of this duplication but this means the snapcraft kernel plugin needs to consume the file from /boot now.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. The kernel plugin was updated to source the initrd from /boot within the os snap rather than /usr/lib, eliminating file duplication and aligning with the new initrd generation process. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1740882 Missing initrd.img-core in os.snap | snapcraft (launchpad) | closed | Closed without resolution. The snapcraft kernel plugin failure caused by a missing initrd.img-core symlink appears abandoned or superseded by newer versions. | |
| #1207 kernel plugin: stop duplicating initrd and image file, use symlinks f… | snapcraft | closed | Closed and abandoned. The change proposed using symlinks for kernel and initrd files to avoid duplication. Initial x86_64 tests passed, but it broke the Snapdragon snap. Lacking time to debug the incompatibility, the author closed the request without merging. | |
| #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. | |
| #1676806 Make snapcraft smarter wrt .config and initrd modules | snapcraft (launchpad) | closed | Closed as stale. The kernel plugin has changed significantly since the request, making the original proposal obsolete. Maintainers advised opening a new issue if the feature remains relevant. | |
| #1569337 snapcraft kernel plugin needs to check compression method of the initrd before trying to unpack it | snapcraft (launchpad) | closed | Closed without comments or resolution. The request to dynamically detect initrd compression in the snapcraft kernel plugin was abandoned or superseded by upstream changes. | |
| #1606903 kernel plugin: can't snap a kernel using launchpad | snapcraft (launchpad) | closed | Closed after confirming the obsolete snapcraft login requirement should be removed. The kernel plugin was updated to skip the unnecessary authentication step, resolving the launchpad build credential error. | |
| #1655008 Kernel plugin: Avoid redownloading os.snap on a local Git repo | snapcraft (launchpad) | closed | Closed without resolution, likely abandoned. The kernel plugin redownloaded a large os.snap file when local Git changes went undetected. No fix or workaround was implemented. | |
| #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. |