kola/options: Default to uefi on aarch64
@@ -24,6 +24,7 @@ import (
"github.com/coreos/mantle/kola"
"github.com/coreos/mantle/platform"
"github.com/coreos/mantle/sdk"
+ "github.com/coreos/mantle/system"
)
var (
@@ -169,6 +170,8 @@ func syncOptionsImpl(useCosa bool) error {
if kola.QEMUOptions.Firmware == "" {
if kola.QEMUOptions.Native4k {
kola.QEMUOptions.Firmware = "uefi"
+ } else if system.RpmArch() == "aarch64" {
+ kola.QEMUOptions.Firmware = "uefi"
} else {
kola.QEMUOptions.Firmware = "bios"
}
