Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

bootefi.c

Blame
  • Forked from Reform / reform-boundary-uboot
    12030 commits behind the upstream repository.
    • Alexander Graf's avatar
      3fb97e26
      efi_loader: Revert device_handle to disk after net boot · 3fb97e26
      Alexander Graf authored
      
      When you boot an efi payload from network, then exit that payload
      and load another payload from disk afterwords, the disk payload will
      currently see the network device as its boot path.
      
      This breaks grub2 for example which tries to find its modules based
      on the path it was loaded from.
      
      This patch fixes that issue by always reverting to disk paths if we're
      not in the network boot. That way the data structures after a network
      boot look the same as before.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      3fb97e26
      History
      efi_loader: Revert device_handle to disk after net boot
      Alexander Graf authored
      
      When you boot an efi payload from network, then exit that payload
      and load another payload from disk afterwords, the disk payload will
      currently see the network device as its boot path.
      
      This breaks grub2 for example which tries to find its modules based
      on the path it was loaded from.
      
      This patch fixes that issue by always reverting to disk paths if we're
      not in the network boot. That way the data structures after a network
      boot look the same as before.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    bootefi.c 8.57 KiB