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

pkg/osbuild: Skip EFI partition check for non UEFI platforms #758

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

yoheiueda
Copy link
Contributor

Currently, validateBootupdMounts always ensures that /boot/efi exists. This requirement is not necessary on non-UEFI platforms such as s390x.

This patch skips the check for /boot/efi when UEFIVendor is not set.

This change is required for this issue: osbuild/bootc-image-builder#460

Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

Thanks!

@achilleas-k achilleas-k enabled auto-merge June 24, 2024 15:59
Currently, validateBootupdMounts always ensures that /boot/efi exists.
This requirement is not necessary on non-UEFI platforms such as
s390x. This patch skips the check for /boot/efi when UEFIVendor is not set.

Signed-off-by: Yohei Ueda <[email protected]>
auto-merge was automatically disabled June 25, 2024 02:29

Head branch was pushed to by a user without write access

@yoheiueda yoheiueda force-pushed the skip-efi-part-check branch from 5650c07 to 71738a2 Compare June 25, 2024 02:29
@supakeen supakeen enabled auto-merge June 25, 2024 05:46
@supakeen supakeen added this pull request to the merge queue Jun 25, 2024
Merged via the queue into osbuild:main with commit b02333b Jun 25, 2024
16 of 17 checks passed
@yoheiueda yoheiueda deleted the skip-efi-part-check branch June 25, 2024 06:40
yoheiueda added a commit to yoheiueda/bootc-image-builder that referenced this pull request Jul 2, 2024
This patch bumps the version of the images library to v0.69.0 as well as go to v1.21,
since the library requires the Go version.

This version includes a necessary fix to support partition layouts for non-UEFI platforms.
osbuild/images#758

Signed-off-by: Yohei Ueda <[email protected]>
yoheiueda added a commit to yoheiueda/bootc-image-builder that referenced this pull request Jul 4, 2024
This patch bumps the version of the images library to v0.69.0 as well as go to v1.21,
since the library requires the Go version.

This version includes a necessary fix to support partition layouts for non-UEFI platforms.
osbuild/images#758

Signed-off-by: Yohei Ueda <[email protected]>
achilleas-k pushed a commit to yoheiueda/bootc-image-builder that referenced this pull request Jul 4, 2024
This patch bumps the version of the images library to v0.69.0 as well as
go to v1.21, since the library requires the Go version.

This version includes a necessary fix to support partition layouts for
non-UEFI platforms.
osbuild/images#758

Signed-off-by: Yohei Ueda <[email protected]>
github-merge-queue bot pushed a commit to osbuild/bootc-image-builder that referenced this pull request Jul 4, 2024
This patch bumps the version of the images library to v0.69.0 as well as
go to v1.21, since the library requires the Go version.

This version includes a necessary fix to support partition layouts for
non-UEFI platforms.
osbuild/images#758

Signed-off-by: Yohei Ueda <[email protected]>
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.

3 participants