Remove Secure Boot check.

Rocky Linux now has secure boot support, so we no longer need to check for and
bail on systems with secure boot enabled.
This commit is contained in:
Peter Ajamian 2021-11-17 15:51:57 +13:00
parent d7e4c072a2
commit fbac8d07a2

View File

@ -420,15 +420,6 @@ collect_system_info () {
fi fi
fi fi
# check if EFI secure boot is enabled
if [[ $update_efi ]]; then
if mokutil --sb-state 2>&1 | grep -q "SecureBoot enabled"; then
exit_message \
"EFI Secure Boot is enabled but Rocky Linux doesn't provide a signed shim yet."\
" Disable EFI Secure Boot and reboot."
fi
fi
# Don't enable these module streams, even if they are enabled in the source # Don't enable these module streams, even if they are enabled in the source
# distro. # distro.
declare -g -a module_excludes declare -g -a module_excludes