kitakar5525 / chromeos-kernel-linux-surface

linux-surface kernel for chromiumos.
GNU General Public License v3.0
18 stars 1 forks source link

config-minimal-surface: can't sign kernel for secure boot #18

Closed kitakar5525 closed 4 years ago

kitakar5525 commented 4 years ago

When I try to sign kernel built with config-minimal-surface by sbsign, I got the following error:

Invalid DOS header magic

Also I can't enroll hash via MokManager.

No issue on kernel built with config-general-surface.

kitakar5525 commented 4 years ago

It requires the following config:

# load the kernel as an EFI executable
# for secure boot signing
CONFIG_EFI_STUB=y