Skip to content

fix: Avoid overwriting fstype with empty value#2675

Closed
jedevc wants to merge 2 commits intounikraft:stagingfrom
jedevc:jedevc/fix-empty-fstype
Closed

fix: Avoid overwriting fstype with empty value#2675
jedevc wants to merge 2 commits intounikraft:stagingfrom
jedevc:jedevc/fix-empty-fstype

Conversation

@jedevc
Copy link
Member

@jedevc jedevc commented Mar 3, 2026

Prerequisite checklist

Description of changes

This value will be set to the empty string from the CLI if it's not explicitly set with --rootfs-type. This essentially results in overwriting the pre-populated default cpio type with an empty fs type.

This then just silently skips the build in older versions of kraft, or causes a weirdly strange internal error on staging.

jedevc added 2 commits March 3, 2026 09:58
This value will be set to the empty string from the CLI if it's not
explicitly set with `--rootfs-type`. This essentially results in
overwriting the pre-populated default cpio type with an empty fs type.

This then just silently skips the build in older versions of kraft, or
causes a weirdly strange internal error on staging.

Signed-off-by: Justin Chadwell <justin@unikraft.com>
Debugging without these is an absolute PITA.

Signed-off-by: Justin Chadwell <justin@unikraft.com>
Copy link
Member

@craciunoiuc craciunoiuc left a comment

Choose a reason for hiding this comment

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

All good here. Thanks!

Reviewed-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.com
Approved-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.com

@craciunoiuc craciunoiuc self-requested a review March 3, 2026 13:09
Copy link
Member

@craciunoiuc craciunoiuc left a comment

Choose a reason for hiding this comment

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

removing my review cause I want to see how this works with my PR 👀

@craciunoiuc craciunoiuc self-requested a review March 3, 2026 13:09
@github-project-automation github-project-automation bot moved this from 🧊 Icebox to 🚀 Done in KraftKit Roadmap Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚀 Done

Development

Successfully merging this pull request may close these issues.

2 participants