mkarchiso: add SBAT metadata to grub-mkstandalone created EFI binaries
Even though archiso created ISOs do not support Secure Boot, having SBAT would allow users to more easily repack the files in the ISO to add a signed shim. Fixes #174
This commit is contained in:
parent
91b48f82f3
commit
53a3ad25af
@ -544,6 +544,7 @@ _make_bootmode_uefi-ia32.grub.esp() {
|
||||
--modules="part_gpt part_msdos fat iso9660" \
|
||||
--locales="en@quot" \
|
||||
--themes="" \
|
||||
--sbat=/usr/share/grub/sbat.csv \
|
||||
-o "${work_dir}/BOOTIA32.EFI" "boot/grub/grub.cfg=${work_dir}/grub-embed.cfg"
|
||||
# Add GRUB to the list of files used to calculate the required FAT image size.
|
||||
efiboot_files+=("${work_dir}/BOOTIA32.EFI"
|
||||
@ -619,6 +620,7 @@ _make_bootmode_uefi-x64.grub.esp() {
|
||||
--modules="part_gpt part_msdos fat iso9660" \
|
||||
--locales="en@quot" \
|
||||
--themes="" \
|
||||
--sbat=/usr/share/grub/sbat.csv \
|
||||
-o "${work_dir}/BOOTx64.EFI" "boot/grub/grub.cfg=${work_dir}/grub-embed.cfg"
|
||||
# Add GRUB to the list of files used to calculate the required FAT image size.
|
||||
efiboot_files+=("${work_dir}/BOOTx64.EFI"
|
||||
|
Loading…
Reference in New Issue
Block a user