File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
usr/share/rear/finalize/Linux-i386 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ is_true $USING_UEFI_BOOTLOADER || return 0
88# (cf. finalize/Linux-i386/610_EFISTUB_run_efibootmgr.sh):
99is_true $EFI_STUB && return
1010
11+ local esp_mountpoint esp_mountpoint_inside boot_efi_parts boot_efi_dev
12+
1113# When UEFI_BOOTLOADER is not a regular file in the restored target system
1214# (cf. how esp_mountpoint is set below) it means BIOS is used
1315# (cf. rescue/default/850_save_sysfs_uefi_vars.sh)
@@ -57,6 +59,8 @@ if ! test "$boot_efi_parts" ; then
5759 LogPrint " Using fallback EFI boot partition(s) $boot_efi_parts (unable to find ESP $esp_mountpoint_inside in layout)"
5860fi
5961
62+ local bootloader partition_block_device partition_number disk efipart
63+
6064# EFI\fedora\shim.efi
6165bootloader=$( echo $UEFI_BOOTLOADER | cut -d" /" -f4- | sed -e ' s;/;\\;g' )
6266
You can’t perform that action at this time.
0 commit comments