forked from koniifer/ableos
added option to override firmware path
This commit is contained in:
parent
72c4aabbcc
commit
ebd3fe2248
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue