parse/arguments: add qemu --efi option

This will be used to support EFI boot in qemu

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Reviewed-by: Caleb Connolly <kc@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230316192838.21431-2-clayton@craftyguy.net%3E
This commit is contained in:
Clayton Craft 2023-03-16 12:28:36 -07:00 committed by Oliver Smith
parent 1dfce9d342
commit 6c66bfb8aa
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 0 deletions

View File

@ -366,6 +366,8 @@ def arguments_qemu(subparser):
ret.add_argument("--host-qemu", dest="host_qemu", action='store_true',
help="Use the host system's qemu")
ret.add_argument("--efi", action=argparse.BooleanOptionalAction,
help="Use EFI boot (default: direct kernel image boot)")
return ret