Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd-stub feature parity #94

Open
14 of 19 tasks
RaitoBezarius opened this issue Feb 2, 2023 · 6 comments
Open
14 of 19 tasks

systemd-stub feature parity #94

RaitoBezarius opened this issue Feb 2, 2023 · 6 comments
Labels
enhancement New feature or request stub
Milestone

Comments

@RaitoBezarius
Copy link
Member

RaitoBezarius commented Feb 2, 2023

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

  • Support

SMBIOS

  • Load command line via SMBIOS

Addons support

  • Load command line addons

Sections in the stub

  • DTB support
  • Bootsplash support
  • Expected TPM2 PCR signatures
  • TPM2 PCR public key support

Companion files

  • Local credentials files specific to that generation
  • System extensions images
  • Global credentials

EFI variables passed to the OS

  • LoaderDevicePartUUID
  • LoaderFirmwareInfo
  • LoaderFirmwareType
  • LoaderImageIdentifier
  • StubInfo
  • StubFeatures
  • StubPcrKernelImage
  • StubPcrKernelParameters
  • StubPcrInitRDSysExts
@RaitoBezarius RaitoBezarius added enhancement New feature or request stub labels Feb 2, 2023
@nikstur
Copy link
Collaborator

nikstur commented Feb 3, 2023

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 nikstur closed this as completed Feb 8, 2023
@nikstur
Copy link
Collaborator

nikstur commented Feb 8, 2023

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

@RaitoBezarius
Copy link
Member Author

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

@RaitoBezarius
Copy link
Member Author

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

@clhodapp
Copy link

@RaitoBezarius which upstream?

@RaitoBezarius
Copy link
Member Author

@RaitoBezarius which upstream?

uefi-rs :)

DTB is fixed now, bootsplash is still blocked.

@RaitoBezarius RaitoBezarius modified the milestones: Release 0.4.0, 0.5.0 Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stub
Projects
None yet
Development

No branches or pull requests

3 participants