curthooks: check for non-availability of EFI variables
Some UEFI firmware does not support EFI variables at runtime.
In this case directory /sys/firmware/efi/efivars does not exist.
This would lead to an exception when calling efibootmgr.
Signed-off-by: Heinrich Schuchardt <email address hidden>
install_grub: check for non-availability of EFI variables
Some UEFI firmware does not support EFI variables at runtime.
In this case directory /sys/firmware/efi/efivars does not exist.
This would lead to an exception when calling efibootmgr.
Signed-off-by: Heinrich Schuchardt <email address hidden>
Some UEFI firmware does not support EFI variables at runtime.
In this case directory /sys/firmware/efi/efivars does not exist.
This would lead to an exception when calling efibootmgr.
Signed-off-by: Heinrich Schuchardt <email address hidden>