Skip to content

image_format: Reject an empty partition UUID seed - #299

Merged
martinpitt merged 1 commit into
amutable-systems:mainfrom
daandemeyer:push-tqsvzmympxuw
Oct 12, 2026
Merged

martinpitt merged 1 commit into
amutable-systems:mainfrom
daandemeyer:push-tqsvzmympxuw

Conversation

@daandemeyer

Copy link
Copy Markdown
Member

A target that sets an empty seed gets partition UUIDs derived from its
identity, because the disk and sysext drivers treat an empty seed like an
unset seed. Any other seed that is not a UUID fails. Use the seed whenever
the target sets it, so an empty seed fails the same way.

Signed-off-by: Daan De Meyer daan@amutable.com

A target that sets an empty seed gets partition UUIDs derived from its
identity, because the disk and sysext drivers treat an empty seed like an
unset seed. Any other seed that is not a UUID fails. Use the seed whenever
the target sets it, so an empty seed fails the same way.

Signed-off-by: Daan De Meyer <daan@amutable.com>
@martinpitt
martinpitt merged commit 02641ad into amutable-systems:main Oct 12, 2026
2 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