diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs index 5b0ca4fd..f3f596eb 100644 --- a/repbuild/src/main.rs +++ b/repbuild/src/main.rs @@ -120,7 +120,10 @@ fn run() -> Result<(), Error> { #[rustfmt::skip] com.args([ - "-bios", "/usr/share/OVMF/OVMF_CODE.fd", + "-bios", + std::env::var("REPBUILD_QEMU_FIRMWARE_PATH") + .as_deref() + .unwrap_or("/usr/share/OVMF/OVMF_CODE.fd"), "-drive", "file=target/disk.img,format=raw", "-m", "4G", "-serial", "stdio",