Merge pull request #28595 from medhefgo/elf2efi-fixes

elf2efi: Fixes
This commit is contained in:
Luca Boccassi
2023-07-31 00:07:28 +01:00
committed by GitHub
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ foreach efi_elf_binary : efi_elf_binaries
name += name.startswith('systemd-boot') ? '.efi' : '.efi.stub'
# For the addon, given it's empty, we need to explicitly reserve space in the header to account for
# the sections that ukify will add.
minimum_sections = name.startswith('addon') ? '7' : '0'
minimum_sections = name.endswith('.stub') ? '15' : '0'
exe = custom_target(
name,
output : name,