From: Gerd Hoffmann <kraxel(a)redhat.com>
aarch64: enable uki
Now, with CONFIG_EFI_ZBOOT enabled and aarch64 kernels being
self-unpacking efi binaries instead of gzipped images, building
aarch64 UKIs actually works.
Flip the switch and enable them.
Signed-off-by: Gerd Hoffmann <kraxel(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -285,7 +285,7 @@ Summary: The Linux kernel
# Want to build a vanilla kernel build without any non-upstream patches?
%define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
-%ifarch x86_64
+%ifarch x86_64 aarch64
%define with_efiuki %{?_without_efiuki: 0} %{?!_without_efiuki: 1}
%else
%define with_efiuki 0
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2818