This commit is contained in:
komitov 2024-02-11 12:05:01 -07:00 committed by GitHub
commit a4b25725d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -1224,6 +1224,9 @@ efi_check () {
elif [[ -d /sys/firmware/efi/ ]]; then
declare -g update_efi
update_efi=true
else
declare -g update_bios
update_bios=true
fi
}
@ -1317,6 +1320,8 @@ fi
if [[ $update_efi && $convert_to_rocky ]]; then
fix_efi
elif [[ $update_bios && $convert_to_rocky ]]; then
grub2-mkconfig -o /boot/grub2/grub.cfg
fi
printf '\n\n\n'