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

image-hd: do not use first partition offset for GPT's first usable LBA #270

Closed

Conversation

sairon
Copy link
Contributor

@sairon sairon commented Nov 5, 2024

Currently first usable LBA in the GPT header is pointing to offset of the first partition, ignoring the gpt-location specified in the config. This can lead to some issues as explained in [1]. Disabling this behavior doesn't break any tests and allows for generating of images that have same layout as those generated by sgdisk or other utilities.

[1] #262

Currently first usable LBA in the GPT header is pointing to offset of
the first partition, ignoring the gpt-location specified in the config.
This can lead to some issues as explained in [1]. Disabling this
behavior doesn't break any tests and allows for generating of images
that have same layout as those generated by sgdisk or other utilities.

[1] pengutronix#262

Signed-off-by: Jan Čermák <[email protected]>
@sairon
Copy link
Contributor Author

sairon commented Nov 26, 2024

Superseded by #273

@sairon sairon closed this Nov 26, 2024
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.

1 participant