forked from Mirror/pmbootstrap
qemu: use OVMF EFI firmware from chroot (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
7d85bb31d5
commit
d1a86fe702
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ def command_qemu(args: PmbArgs, config: Config, arch: Arch, img_path, img_path_2
|
|||
|
||||
if args.efi:
|
||||
command += ["-drive",
|
||||
"if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF.fd"]
|
||||
f"if=pflash,format=raw,readonly=on,file={chroot_native.path}/usr/share/OVMF/OVMF.fd"]
|
||||
|
||||
# Kernel Virtual Machine (KVM) support
|
||||
native = pmb.parse.deviceinfo().arch.is_native()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue