nix-community / lanzaboote

Secure Boot for NixOS [maintainers=@blitz @raitobezarius @nikstur]
GNU General Public License v3.0
934 stars 44 forks source link

systemd-stub feature parity #94

Open RaitoBezarius opened 1 year ago

RaitoBezarius commented 1 year ago

We would like to have similar design and features as systemd-stub, ideally, lanzastub should be a drop-in replacement tailored for NixOS:

Random seed

SMBIOS

Addons support

Sections in the stub

Companion files

EFI variables passed to the OS

nikstur commented 1 year ago

Working on this here makes it much harder for other people, especially systemd upstream but also maintainers of other distros to work on the next gen sd-stub in Rust. I'd rather see development happen somewhere else (maybe here: https://github.com/nikstur/sd-stub-rs) and then moved into the systemd namespace as soon as possible.

nikstur commented 1 year ago

This is a useful tracker, thx @RaitoBezarius But since we won't use it here, I closed the issue.

RaitoBezarius commented 1 year ago

As I am going to implement all of this first, then move it to sd-stub, I will track it here first.

RaitoBezarius commented 1 year ago

DTB support and bootsplash are hard to do, they are blocked on upstream support.

clhodapp commented 1 year ago

@RaitoBezarius which upstream?

RaitoBezarius commented 1 year ago

@RaitoBezarius which upstream?

uefi-rs :)

DTB is fixed now, bootsplash is still blocked.