Skip to content

add config setting seed to set systemd-repart --seed #1837

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

Merged
merged 1 commit into from
Aug 25, 2023
Merged

add config setting seed to set systemd-repart --seed #1837

merged 1 commit into from
Aug 25, 2023

Conversation

malt3
Copy link
Contributor

@malt3 malt3 commented Aug 25, 2023

Seed takes a UUID as argument or the special value random.
Overrides the seed that systemd-repart(8) uses when building a disk image. This is useful to achieve reproducible builds, where deterministic UUIDs and other partition metadata should be derived on each build.

In particular, this makes GPT UUIDs deterministic as well as the dm-verity UUID and salt.

@malt3 malt3 requested a review from DaanDeMeyer August 25, 2023 10:52
Copy link
Contributor

@DaanDeMeyer DaanDeMeyer left a comment

Choose a reason for hiding this comment

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

Two more small changes and it's good to go

Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
@DaanDeMeyer DaanDeMeyer merged commit e0c151f into systemd:main Aug 25, 2023
@malt3 malt3 deleted the feat/repart-seed branch August 25, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants