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

install: Support non EFI partition format #623

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

yoheiueda
Copy link
Contributor

This patch enables partition layouts that do not include EFI partition and/or boot partition.

Without this patch, partition numbers becomes not consecutive, and subsequent findpart will fail.

This patch enables partition layouts that do not include
EFI partition and/or boot partition. Without this patch,
partition numbers becomes not consecutive, and subsequent findpart will fail.

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Thanks!

"0:+1M",
"BIOS-BOOT",
Some("21686148-6449-6E6F-744E-656564454649"),
);
} else if cfg!(target_arch = "aarch64") {
// reserved
partno += 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

(Tangential but at this point we can kill the reserved partition on aarch64, we don't have the same use case/problems that motivated it on CoreOS with having symmetry with x86_64 - makes sense in a followup)

Copy link
Collaborator

Choose a reason for hiding this comment

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

➡️ #624

@cgwalters cgwalters merged commit 63d3e3e into containers:main Jun 21, 2024
9 checks passed
@yoheiueda yoheiueda deleted the non-efi branch June 22, 2024 00:52
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.

None yet

2 participants