diff options
| author | Gary Lin <glin@suse.com> | 2021-03-17 15:44:38 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-03-18 22:47:38 -0400 |
| commit | 0ff04b2ff2bc2c5ebe6bbb97aa89fb7ae8c318ac (patch) | |
| tree | 21dc0188309c7040a5b45ce31ba16e27b17c53f8 /mok.c | |
| parent | 7defee6ad60d16dc762c110f67ec9074cbb4039a (diff) | |
| download | efi-boot-shim-0ff04b2ff2bc2c5ebe6bbb97aa89fb7ae8c318ac.tar.gz efi-boot-shim-0ff04b2ff2bc2c5ebe6bbb97aa89fb7ae8c318ac.zip | |
arm and aarch64: include the aligned part in SizeOfRawData of sbat
Similar to x86_64, the .sbat section is aligned to 4096, so we should
include the aligned part in SizeOfRawData as objcopy does for x86_64.
For VirtualSize, _sbat_vsize is used to reflect the actually size of
sbat.
This also fixes a strange hash mismatching in openSUSE build service
when attaching signature to AArch64 EFI images from shim package.
Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'mok.c')
0 files changed, 0 insertions, 0 deletions
