-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disk: enable customizing ESP partitions #1116
base: main
Are you sure you want to change the base?
Conversation
// Examples: | ||
// 3B8F8425-20E0-4F3B-907F-1A25A76F98E8 (/srv on GPT) | ||
// 06 (FAT16 on DOS) | ||
GUID string `json:"guid,omitempty" toml:"guid,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like calling this a GUID when it isn't always a GUID. In other places this is called Type, but that's obviously already been used. Maybe PartType
?
People need to customize partitition types/GUIDs, so this commit adds this option to the blueprint. It's technically a partition type for DOS partitions, but the key type is already taken, so let's go with guid both for DOS and GPT.
This commit takes the blueprint customization added in the last commit, and makes it actually useful.
This commits allow people to customize their ESP partition. Previously, we always added an ESP partition ourselves, regardless of the given customizations, so the customization errored out if there was an ESP because of a conflict. This commit alters the behaviour, so ESP is only added automatically if it's not in the customizations.
Rebased due to image build cache layout change (#1130) |
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
This commits allow people to customize their ESP partition. Previously,
we always added an ESP partition ourselves, regardless of the given
customizations, so the customization errored out if there was an ESP
because of a conflict. This commit alters the behaviour, so ESP is
only added automatically if it's not in the customizations.
Based on #1115.