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

Allow fallback to default loader when encountering errors on network boot #666

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

nathan-omeara
Copy link
Contributor

Only certain errors trigger fallback to the default loader name. This change allows fallback when encountering EFI_TFTP_ERROR as well. And ideally would also handle EFI_HTTP_ERROR the same way, but that requires updating gnu-efi to a version newer than the shim-15.8 branch.

This fixes the issue reported in #649 that prevents boot on some models of PC.

@nathan-omeara nathan-omeara force-pushed the EFI_TFTP_ERROR branch 2 times, most recently from 70129e1 to 956a394 Compare June 20, 2024 19:35
@THS-on THS-on mentioned this pull request Jul 22, 2024
8 tasks
@nathan-omeara
Copy link
Contributor Author

@vathpela @jsetje

Could one of you take a look at this PR to address #649 ?

shim.c Outdated Show resolved Hide resolved
Only certain errors trigger fall back to the default loader name.  This
change allows fall back when encountering `EFI_TFTP_ERROR` and
`EFI_HTTP_ERROR`.

This fixes the issue reported in
rhboot#649 that prevents boot on some
models of PC.

Signed-off-by: Nathan O'Meara <Nathan.OMeara@tanium.com>
Copy link
Contributor

@vathpela vathpela left a comment

Choose a reason for hiding this comment

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

Because we've got EFI_HTTP_ERROR and similar from another PR, I've consolidated these patches into one and done some minor fix-ups in the process.

Looks good to me.

@vathpela vathpela merged commit 98173f0 into rhboot:main Jan 21, 2025
20 checks passed
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