Skip to content
  • Rob Clark's avatar
    efi_loader: add bootmgr · 9975fe96
    Rob Clark authored
    
    
    Similar to a "real" UEFI implementation, the bootmgr looks at the
    BootOrder and BootXXXX variables to try to find an EFI payload to load
    and boot.  This is added as a sub-command of bootefi.
    
    The idea is that the distro bootcmd would first try loading a payload
    via the bootmgr, and then if that fails (ie. first boot or corrupted
    EFI variables) it would fallback to loading bootaa64.efi.  (Which
    would then load fallback.efi which would look for \EFI\*\boot.csv and
    populate BootOrder and BootXXXX based on what it found.)
    
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    9975fe96