Skip to content

Amendment to the Ubuntu shim: Introducing stubble #484

@julian-klode

Description

@julian-klode

As previously discussed in the video meeting, we plan to introduce a new variant of systemd-stub, called "stubble".

You can find its code at https://github.com/canonical/stubble

Stubble removes most of the unused systemd-stub features, but also importantly:

  • Allows external initrds to be supplied by the boot loader so we can build "classic" Ubuntu kernels where the initrd is generated locally, but can bundle signed DTBs with our kernel.
  • Stubble changes the handling of EFI_LOADED_IMAGE to the same used in grub, reusing the parent handle, as a firmware can dereference the image handle into a wider struct, so a custom one does not work (as we found out with peimage prior) (potentially to be upstreamed)
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
stubble,1,Canonical,stubble,2,https://github.com/canonical/stubble
stubble.ubuntu,1,Canonical,stubble,2-1,https://launchpad.net/ubuntu/+source/stubble

Please let us know if you have any concerns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions