|
|
|
@ -393,22 +393,29 @@ mkdir -p memdisk/fonts \
|
|
|
|
|
cp %{4}/unicode.pf2 memdisk/fonts \
|
|
|
|
|
mksquashfs memdisk memdisk.squashfs -comp xz \
|
|
|
|
|
%{4}./grub-mkimage -O %{1} -o %{2}.orig \\\
|
|
|
|
|
-d grub-core \\\
|
|
|
|
|
-p /EFI/%{efi_vendor} -d grub-core \\\
|
|
|
|
|
--sbat %{4}./sbat.csv \\\
|
|
|
|
|
-m memdisk.squashfs \\\
|
|
|
|
|
-p /EFI/%{efi_vendor} \\\
|
|
|
|
|
${GRUB_MODULES} \
|
|
|
|
|
%{4}./grub-mkimage -O %{1} -o %{3}.orig \\\
|
|
|
|
|
-d grub-core \\\
|
|
|
|
|
-p /EFI/BOOT -d grub-core \\\
|
|
|
|
|
--sbat %{4}./sbat.csv \\\
|
|
|
|
|
-m memdisk.squashfs \\\
|
|
|
|
|
-p /EFI/BOOT \\\
|
|
|
|
|
${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}}} \
|
|
|
|
|
%{expand:%%{pesign -s -i %%{2}.orig -o %%{2} -a %%{5} -c %%{6} -n %%{7}}} \
|
|
|
|
|
%{expand:%%{pesign -s -i %%{3}.orig -o %%{3} -a %%{5} -c %%{6} -n %%{7}}} \
|
|
|
|
|
%{nil}
|
|
|
|
|
%else
|
|
|
|
|
%define efi_mkimage() \
|
|
|
|
|
%{4}./grub-mkimage -O %{1} -o %{2} \\\
|
|
|
|
|
-p /EFI/%{efi_vendor} -d grub-core \\\
|
|
|
|
|
${GRUB_MODULES} \
|
|
|
|
|
%{4}./grub-mkimage -O %{1} -o %{3} \\\
|
|
|
|
|
-p /EFI/BOOT -d grub-core \\\
|
|
|
|
|
${GRUB_MODULES} \
|
|
|
|
|
%{nil}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch ppc64le
|
|
|
|
|