mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
runqemu: use "raw" instead of "bin" for ovmf
bin is not an acceptable format for qemu and will throw an error is set. The correct format in this case is raw. (From OE-Core rev: b3cbde17aff693e2d5ba6d61922fca54e75b9f6e) Signed-off-by: Jon Mason <jon.mason@arm.com> Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cd279aeb986b4676ea8ecb1e7b12c7e29e83460a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
16128ae8dc
commit
61111efa8b
@@ -1328,6 +1328,8 @@ class BaseConfig(object):
|
||||
|
||||
for ovmf in self.ovmf_bios:
|
||||
format = ovmf.rsplit('.', 1)[-1]
|
||||
if format == "bin":
|
||||
format = "raw"
|
||||
self.qemu_opt += ' -drive if=pflash,format=%s,file=%s' % (format, ovmf)
|
||||
|
||||
self.qemu_opt += ' ' + self.qemu_opt_script
|
||||
|
||||
Reference in New Issue
Block a user