|
|
|
@ -389,13 +389,19 @@ rm -f %{1}.conf \
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64 aarch64 %{arm} riscv64
|
|
|
|
|
%define efi_mkimage() \
|
|
|
|
|
%define efi_mkimage() \
|
|
|
|
|
mkdir -p memdisk/fonts \
|
|
|
|
|
cp %{4}/unicode.pf2 memdisk/fonts \
|
|
|
|
|
mksquashfs memdisk memdisk.squashfs -comp xz \
|
|
|
|
|
%{4}./grub-mkimage -O %{1} -o %{2}.orig \\\
|
|
|
|
|
-p /EFI/%{efi_vendor} -d grub-core \\\
|
|
|
|
|
--sbat %{4}./sbat.csv \\\
|
|
|
|
|
-m memdisk.squashfs \\\
|
|
|
|
|
${GRUB_MODULES} \
|
|
|
|
|
%{4}./grub-mkimage -O %{1} -o %{3}.orig \\\
|
|
|
|
|
-p /EFI/BOOT -d grub-core \\\
|
|
|
|
|
--sbat %{4}./sbat.csv \\\
|
|
|
|
|
-m memdisk.squashfs \\\
|
|
|
|
|
${GRUB_MODULES} \
|
|
|
|
|
%{expand:%%define ___pesign_client_cert %{?___pesign_client_cert}%{!?___pesign_client_cert:%{__pesign_client_cert}}} \
|
|
|
|
|
%{?__pesign_client_cert:%{expand:%%define __pesign_client_cert %{___pesign_client_cert}}} \
|
|
|
|
|