mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
boot: Properly strip EFI binaries
Removing debugging related sections is apparently not enough to truely strip a (PE) binary. Better late than never. It gets rid of this pesky warning from sbsign: warning: data remaining[174080 vs 193173]: gaps between PE/COFF sections?
This commit is contained in:
parent
fba1033151
commit
4c0a83a434
@ -467,6 +467,7 @@ foreach tuple : [['systemd-boot@0@.@1@', systemd_boot_objects, false, 'systemd-b
|
||||
'-j', '.sdata',
|
||||
'-j', '.sdmagic',
|
||||
'-j', '.text',
|
||||
'--strip-all',
|
||||
'--section-alignment=512',
|
||||
efi_format,
|
||||
'@INPUT@', '@OUTPUT@'],
|
||||
|
Loading…
Reference in New Issue
Block a user