← 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 unmerged: PR #1207's symlink change broke the snapdragon snap; the author had no time to debug it and deferred the work.

Resolution: closed stale

Reason: PR #1207 was closed without a merge or resolving commit. In the author's 2017-04-05 comment, they said it broke the snapdragon snap, could not debug it, and put it on the back burner, so it was abandoned rather than resolved.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed stale Closed unmerged: PR #1207's symlink change broke the snapdragon snap; the author had no time to debug it and deferred the work.
stealth/space-bunny-alpha — closed stale Closed unmerged: the kernel-plugin symlink change broke the Snapdragon snap; the author lacked time to debug it and deferred the work.
stealth/space-bunny-alpha — closed stale PR #1207 (piso77) would replace duplicated kernel.img/initrd.img with symlinks in the kernel plugin (LP #1674965). Author closed it unmerged on 2017-04-05, saying it broke the snapdragon snap and he had no time to debug.
stealth/space-bunny-alpha — closed stale PR #1207 proposed symlinks instead of duplicate kernel.img and initrd.img files. It was closed unmerged after breaking the Snapdragon snap, with no debugging completed.
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.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#748 (confidence 90%)

    Earlier kernel.img hard-link change that the proposed symlink approach was replacing.

Related issues

Issue Project State Summary Similarity
#1674965 Don't duplicate initrd and kernel files snapcraft (launchpad) closed Closed as stale after snapcore/snapcraft#1207 was abandoned unmerged because symlinks broke the Snapdragon snap; the kernel plugin has since changed substantially.
81%
#1611435 kernel plugin: hard link vmlinuz to kernel.img snapcraft (launchpad) closed Closed as stale after the kernel plugin was reworked; the requested vmlinuz-to-kernel.img change had already merged in canonical/snapcraft#748 via commit f77341d72.
75%
#747 kernel plugin: vmlinuz -> kernel.img hard link snapcraft closed Closed unmerged and superseded by canonical/snapcraft#748, which merged the kernel.img naming change in commit f77341d72.
74%
#4302 plugins: kernel: split kernel plugin into kernel and initrd plugins snapcraft closed PR #4302 (split kernel plugin into kernel + initrd plugins) was closed unmerged on 2025-10-14 by author kubiko as superseded by canonical/snapcraft#5814, merged in commit 8f56d299d.
71%
#1627923 kernel plugin initrd packaging fails when kernel modules have common dependencies snapcraft (launchpad) closed Fixed by snapcore/snapcraft PR #837, which allowed initrd packaging to handle common kernel-module dependencies without duplicate-copy failures.
71%