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

Fix legacy_bios_mode detection #2688

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Fix legacy_bios_mode detection #2688

merged 1 commit into from
Dec 2, 2024

Conversation

schaefi
Copy link
Collaborator

@schaefi schaefi commented Dec 2, 2024

The code in this method does not work correctly if the firmware is set to 'bios'. In bios only mode the method returned a false value which is incorrect as it should return a true value in this case. Without this patch ISO images will fail to boot because no loader gets configured.

@schaefi schaefi requested a review from Conan-Kudo December 2, 2024 10:38
@schaefi schaefi self-assigned this Dec 2, 2024
@schaefi
Copy link
Collaborator Author

schaefi commented Dec 2, 2024

Found this while testing several ISO builds. The PR must not be merged until all integration tests has rebuild. I'll submit a staging build with this patch to let them run

The code in this method does not work correctly if the
firmware is set to 'bios'. In bios only mode the method
returned a false value which is incorrect as it should
return a true value in this case. Without this patch
ISO images will fail to boot because no loader gets
configured.
@schaefi schaefi force-pushed the fix_legacy_bios_check branch from 53e2b90 to f6f21fe Compare December 2, 2024 12:33
@schaefi
Copy link
Collaborator Author

schaefi commented Dec 2, 2024

Integration test builds looks good

@Conan-Kudo Conan-Kudo enabled auto-merge December 2, 2024 17:46
@Conan-Kudo Conan-Kudo merged commit 08ee679 into main Dec 2, 2024
14 checks passed
@Conan-Kudo Conan-Kudo deleted the fix_legacy_bios_check branch December 2, 2024 17:47
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.

2 participants