how-to: image-creation: revamp kernel snap build guide - #344
Merged
Merged
Conversation
dilyn-corner
marked this pull request as draft
April 17, 2026 16:04
dilyn-corner
commented
Apr 17, 2026
dilyn-corner
force-pushed
the
kernel-update
branch
from
May 5, 2026 12:58
c8ae9f9 to
04c6c2e
Compare
sidalit
reviewed
Jun 2, 2026
canonical-nicoharnois
approved these changes
Jun 2, 2026
canonical-nicoharnois
left a comment
There was a problem hiding this comment.
Thanks Dilyn for this, so glad to see clarification of how to build the kernel snaps in our Core documentation!
With the forthcoming release of the kernel and initrd plugins in snapcraft, the kernel snap build how-to should be updated to reflect the new methods. I wouldn't merge this until those plugins are released, of course. If by some horrific accident they don't get merged, we can cull the plugin-specific aspects and I can provide a variant that doesn't require plugins. Because, well, you don't need a plugin. :) Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
In recent revisions of the kernel plugin, the kernel image uses the canonical name "vmlinuz". It is up to the user to identify what the final name should be (it would be based on what the gadget snap specifies). Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Plugin behavior changed slightly. Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
dilyn-corner
force-pushed
the
kernel-update
branch
from
June 10, 2026 15:42
d2d91b6 to
ddd7aea
Compare
dilyn-corner
marked this pull request as ready for review
June 10, 2026 15:42
Collaborator
Author
|
Pulling out of draft. Updated doc to match HEAD, incorporated feedback, updated an initrd plugin option. |
Meulengracht
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the forthcoming release of the kernel and initrd plugins in snapcraft, the kernel snap build how-to should be updated to reflect the new methods.
I wouldn't merge this until those plugins are released, of course. If by some horrific accident they don't get merged, we can cull the plugin-specific aspects and I can provide a variant that doesn't require plugins. Because, well, you don't need a plugin. :)