Skip to content

Support distro UKI + shim direct boot via BOOTX64.CSV #4174

@src-up

Description

@src-up

We’re building images that use distro UKIs with the distro shim and ran into the following; we’d like to propose a small extension.

  • In our use case, we rely on distro shipped UKI and distro shim(e.g Fedora kernel-uki-virt + shim-x64).
  • For that we need the UKI on the ESP and BOOTX64.CSV so shim boots the UKI directly (no grub).
  • Currently we work around this by using a post-install script (copy UKI to e.g. $BUILDROOT/efi/EFI/Linux/, write efi/EFI//BOOTX64.CSV); repart CopyFiles then puts it on the ESP.)
  • It would be helpful if mkosi had an option that does this (discover distro UKI , put it where repart copies to ESP, write BOOTX64.CSV) so we can drop the script.

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