Skip to content

Commit

Permalink
Reload EFI info, boot order has changed as Leapp upgrade efi entry wa…
Browse files Browse the repository at this point in the history
…s removed
  • Loading branch information
yuravk committed Dec 3, 2024
1 parent 3c3421a commit 7fcf9ae
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def remove_upgrade_efi_entry():
except CalledProcessError:
api.current_logger().warning('Unable to remove Leapp upgrade efi files.')

# Reload EFI info, boot order has changed as Leapp upgrade efi entry was removed
bootloader_info = get_workaround_efi_info()
original_boot_number = bootloader_info.original_entry.boot_number
run(['/usr/sbin/efibootmgr', '--bootnext', original_boot_number])

Expand Down

0 comments on commit 7fcf9ae

Please sign in to comment.