puzzleos / stubby

UEFI bootloader stub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux 6.2.x and HANDOVER support

dermotbradley opened this issue · comments

Hi

Linux kernel 6.2.0 has added a new config setting EFI_HANDOVER_PROTOCOL and marks this as deprecated.

Whilst this setting defaults to Y to enable handover support I was helping someone recently using UKI booting where it turned out the distro kernel in use had this unset.

stubby appears to rely on EFI_HANDOVER for booting.

I had a look at the systemd-boot code and they appear to have added support for alternative methods: systemd/systemd#20918 and systemd/systemd#24777

I also see a PR was raised in the past to remove HANDOVER support from systemd-boot, although the PR was closed, not merged: https://github.com/systemd/systemd/pull/25126/files

It would make sense to add non-handover support in the near future before distros start disabling it in 6.2.x+ kernels.

Hi - definitely agreed that that (adding non-handover support) makes sense.

Is this something you'd be interested in sending a PR for? (If not I will aim to look at it soon-ish)

Is this something you'd be interested in sending a PR for? (If not I will aim to look at it soon-ish)

Unfortunately it's not really in my area of expertise and so I wasn't intending to work on a PR.