← Back to issue list

kernel plugin: stop duplicating initrd and image file, use symlinks f…

View original Github issue

Metadata

Project
snapcraft
Number
#1207
Type
pull request
State
closed
Author
piso77
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

…or kernel.img and initrd.img instead Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> LP: #1674965

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Abandoned. Proposed replacing duplicated kernel and initrd files with symlinks to save space. Closed after testing revealed it broke snapdragon snap builds, and the author lacked time to debug the issue. Not merged.
qwen3.6-35b-a3b-mtp-q6 Abandoned without merging. Replacing duplicated kernel and initrd files with symlinks broke the Snapdragon snap. The author closed the request due to ARM compatibility issues and lack of time to debug.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1674965 Don't duplicate initrd and kernel files snapcraft (launchpad) closed Proposed replacing hardlinks with symlinks for kernel and initrd files to save space. Closed as stale after significant kernel plugin changes made the request obsolete. No merge occurred.
79%
#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.
76%
#747 kernel plugin: vmlinuz -> kernel.img hard link snapcraft closed Closed without merging. The change to hardlink vmlinuz to kernel.img for the new naming scheme was abandoned due to lack of review and CI checks.
76%
#1611435 kernel plugin: hard link vmlinuz to kernel.img snapcraft (launchpad) closed Closed as stale. The kernel plugin was significantly reworked, superseding the proposed hard link fix. Maintainers advised binding the change to type: kernel instead, but the request was abandoned due to the plugin overhaul.
76%
#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.
72%
#748 kernel plugin: vmlinuz -> kernel.img hard link snapcraft merged Merged after the author updated the kernel plugin to replace the vmlinuz hard link with kernel.img, following the new naming scheme. Unit test feedback was addressed before final merge, with future symlink implementation noted.
72%
#4302 plugins: kernel: split kernel plugin into kernel and initrd plugins snapcraft closed Splitting the kernel plugin into separate kernel and initrd components was closed as superseded by PR #5814. Review discussions addressed cross-compilation and LXD setup, but the changes were ultimately replaced by a newer implementation.
72%