andreyv / sbupdate

Generate and sign kernel images for UEFI Secure Boot on Arch Linux
GNU General Public License v3.0
225 stars 20 forks source link

objcopy: section below image base #63

Closed benthetechguy closed 1 year ago

benthetechguy commented 1 year ago

When I upgrade my kernel, I get this warning while it generates the unified kernel image:

Generating and signing linux-signed.efi
objcopy: /efi/EFI/Linux/linux-signed.efi:.osrel: section below image base
objcopy: /efi/EFI/Linux/linux-signed.efi:.cmdline: section below image base
objcopy: /efi/EFI/Linux/linux-signed.efi:.linux: section below image base
objcopy: /efi/EFI/Linux/linux-signed.efi:.initrd: section below image base
Signing Unsigned original image

The UEFI fails to boot to the image.

Maryse47 commented 1 year ago

Duplicate of https://github.com/andreyv/sbupdate/issues/56

andreyv commented 1 year ago

Duplicate of #56

benthetechguy commented 1 year ago

Sorry, I didn't see that since it was closed before the issue was solved.