Hi again,

On Tue, 2024-06-11 at 09:17 +0100, Christopher Obbard wrote:
> Hi Jan,
> 
> On Tue, 2024-06-11 at 07:10 +0200, Jan Kiszka wrote:
> > Chris, you could check if already the vanilla stub fails to run as EFI
> > binary. It should at least print "Unified kernel stub (EFI Boot Guard
> > v0.17)" and "Missing .kernel section" when there is no kernel linked to
> > it. This is to rule out potential problems of the bg_gen_unified_kernel
> > script.
> 
> Launching the kernel stub binary directly in qemu (v8.2.4) using the command
> in my original message, the stub seems to attempt to print something to the
> EFI console, but it ends up showing as many characters of whitespace and
> simply quitting after 5s.
> 
> I guess this shows the bg_gen_unified_kernel script is OK and the issue
> falls
> in the stub?
> 
> For the record, the efibootguard binary itself seems to work just fine.

I also built efibootguard v0.13 (e.g the version which works in bookworm) in
my local debian unstable environment. The built kernel stub fails in the same
way I reported.

So I believe this narrows things down to the cross-compiler, some library or
something else in the environment.


Thanks!

Reply via email to