Skip to content

rust-osdev/ovmf-prebuilt

Repository files navigation

ovmf-prebuilt

Builds a release tag of edk2 and uploads it as a Github release to this repo.

The contents of the release tarball look like this:

x64/shell.efi
x64/vars.fd
x64/code.fd
ia32/shell.efi
ia32/vars.fd
ia32/code.fd
aarch64/vars.fd
aarch64/code.fd
aarch64/shell.efi
riscv64/vars.fd
riscv64/code.fd
riscv64/shell.efi

Latest Release

License

OVMF is part of the tianocore/edk2 project. See the License.txt and the OVMF wiki page of the repository for licensing information. These are the licensing terms that applies to the releases in this repository. Note that some of the OVMF builds include a seabios CSM, which is GPLv3 licensed.

The build code (not the releases) of this ovmf-prebuilt project is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Usage

The build is ordinarily run with Github Actions by manually pushing a tag to the repo. The tag should look something like edk2-stable202211-r1. The first part, edk2-stable202211, should match a tag in the edk2 repo. The -r1 at the end is so that we can do multiple releases of the same edk2 tag without overwriting previous ones (e.g. if we realize later we need to modify a build flag).

The build can be run locally with:

cargo run -- [--container-cmd <cmd>] [--create-release] <tag>