Skip to content

how-to: image-creation: revamp kernel snap build guide - #344

Merged
dilyn-corner merged 6 commits into
canonical:mainfrom
dilyn-corner:kernel-update
Jun 19, 2026
Merged

dilyn-corner merged 6 commits into
canonical:mainfrom
dilyn-corner:kernel-update

Conversation

@dilyn-corner

Copy link
Copy Markdown
Collaborator

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. :)

@dilyn-corner
dilyn-corner marked this pull request as draft April 17, 2026 16:04
@dilyn-corner dilyn-corner self-assigned this Apr 17, 2026
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated
Comment thread docs/how-to-guides/image-creation/build-a-kernel-snap.md Outdated

@canonical-nicoharnois canonical-nicoharnois left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
dilyn-corner marked this pull request as ready for review June 10, 2026 15:42
@dilyn-corner

Copy link
Copy Markdown
Collaborator Author

Pulling out of draft. Updated doc to match HEAD, incorporated feedback, updated an initrd plugin option.

@dilyn-corner
dilyn-corner merged commit ec52732 into canonical:main Jun 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants