Skip to content
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

bib: drop hardcoding disk UUID #568

Closed
wants to merge 2 commits into from
Closed

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Jul 29, 2024

The current parition_tables.go hardcodes the UUID for the PartitionTable. This is undesired. Drop it so that images generates it automatically and randomly for us.

A similar change is probably wanted for images itself and the parition UUIDs.

[draft as this needs discussion and at lest one test

Also volumeid for vfat needs fixing

mvo5 added 2 commits July 31, 2024 16:45
The current parition_tables.go hardcodes the UUID for the
PartitionTable. This is undesired. Drop it so that images generates
it automatically and randomly for us.

A similar change is probably wanted for images itself and the
parition UUIDs.
@mvo5 mvo5 marked this pull request as ready for review July 31, 2024 14:46
@mvo5
Copy link
Collaborator Author

mvo5 commented Jul 31, 2024

Setting to draft for now for the same reasons as osbuild/images#823

@mvo5 mvo5 marked this pull request as draft July 31, 2024 15:46
cgwalters added a commit to cgwalters/bootc-image-builder that referenced this pull request Aug 1, 2024
Closes: osbuild#551

There was a fair amount of copy-paste even when we just had
aarch64+x86_64, the addition of duplicate bootfs/rootfs definitions
for ppc64le+s390x is a strong motivation to finally define shared
constants.

I also factored out a shared `const` with some comments
for the disk UUID that will save someone some time wondering
about it later (this textually but not logically conflicts
with osbuild#568
but I think this makes sense to land first).

Signed-off-by: Colin Walters <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Aug 2, 2024
Closes: #551

There was a fair amount of copy-paste even when we just had
aarch64+x86_64, the addition of duplicate bootfs/rootfs definitions
for ppc64le+s390x is a strong motivation to finally define shared
constants.

I also factored out a shared `const` with some comments
for the disk UUID that will save someone some time wondering
about it later (this textually but not logically conflicts
with #568
but I think this makes sense to land first).

Signed-off-by: Colin Walters <[email protected]>
Copy link

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.

@github-actions github-actions bot added the Stale Issue or PR with no activity for extended period of time label Aug 31, 2024
Copy link

github-actions bot commented Sep 7, 2024

This PR was closed because it has been stalled for 30+7 days with no activity.

@github-actions github-actions bot closed this Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Issue or PR with no activity for extended period of time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant