Skip to content

cargo xtask run fails to fetch edk2 #1616

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

Open
kraxel opened this issue Apr 10, 2025 · 2 comments
Open

cargo xtask run fails to fetch edk2 #1616

kraxel opened this issue Apr 10, 2025 · 2 comments

Comments

@kraxel
Copy link
Contributor

kraxel commented Apr 10, 2025

[INFO] downloading https://github.com/rust-osdev/ovmf-prebuilt/releases/download/edk2-stable202402-r1/edk2-stable202402-r1-bin.tar.xz
Error: remote request failed

Caused by:
    io: Peer disconnected

Trying to fetch the file with wget shows that github redirects to https://objects.githubusercontent.com/.... I think this is new, I can't remember having seen this before.

@kraxel
Copy link
Contributor Author

kraxel commented Apr 10, 2025

Even when using --ovmf-code + --ovmf-vars xtask tries to fetch prebuild edk2.

@phip1611
Copy link
Member

Good catch! Thanks.

1.) Probably we have to update the URL
2.) it shouldn't fetch when we provide OVMF as environmental variable

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

No branches or pull requests

2 participants