Only allow UEFI support to be enabled on x86_64
Until we figure out how to enable it on other arches (just on aarch64 really).
This commit is contained in:
parent
29dc2bd7fe
commit
2495ba28ac
@ -191,8 +191,11 @@ class QEMUInstall(object):
|
||||
qemu_cmd += ["-machine", "accel=kvm"]
|
||||
|
||||
if boot_uefi:
|
||||
qemu_cmd += ["-machine", "q35,smm=on"]
|
||||
qemu_cmd += ["-global", "driver=cfi.pflash01,property=secure,value=on"]
|
||||
if target_arch == x86_64:
|
||||
qemu_cmd += ["-machine", "q35,smm=on"]
|
||||
qemu_cmd += ["-global", "driver=cfi.pflash01,property=secure,value=on"]
|
||||
else:
|
||||
raise InstallError("UEFI support not available for %s (yet?)" % target_arch)
|
||||
|
||||
# Copy the initrd from the iso, create a cpio archive of the kickstart files
|
||||
# and append it to the temporary initrd.
|
||||
|
Loading…
Reference in New Issue
Block a user