Skip to content

Conversation

@jeckersb
Copy link
Collaborator

@jeckersb jeckersb commented Feb 3, 2026

See individual commits, just some improvements after #1960

@bootc-bot bootc-bot bot requested a review from henrywang February 3, 2026 18:13
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces some nice refactorings that improve code clarity and type safety, especially with the introduction of the KernelPath enum. The changes to the seal-uki shell script also make it more readable. I have one minor suggestion for an unnecessary and likely non-compiling change in crates/lib/src/kernel.rs.

This just clarifies things in a few places to distinguish between a
UKI which has just a single path versus a traditional kernel with
separate vmlinuz and initramfs.

Also renames `find_uki_filename` to `find_uki_path` and updates the
return type to use `Utf8PathBuf` instead of just `String`.

Signed-off-by: John Eckersberg <[email protected]>
@jeckersb jeckersb force-pushed the container-ukify-followup branch from 882417d to efbd374 Compare February 3, 2026 18:56
Uki(Utf8PathBuf),
Vmlinuz {
path: Utf8PathBuf,
initramfs: Utf8PathBuf,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This one is probably still technically Option...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah true. I'll merge as-is but if someone comes along and wants their localyesconfig kernel supported I guess we can revisit 😄

@jeckersb jeckersb merged commit 1b89875 into bootc-dev:main Feb 3, 2026
34 of 36 checks 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.

2 participants