mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 00:11:15 +00:00
Only use acpi when secureboot if enabled in UEFI mode.
This commit is contained in:
@@ -1224,7 +1224,9 @@ function vtoyboot_common_func {
|
||||
linux16 $vtoy_path/ipxe.krn ${vtdebug_flag} bios80 sector512 mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
|
||||
boot
|
||||
else
|
||||
vt_acpi_param ${vtoy_chain_mem_addr} 512
|
||||
if vt_check_secureboot_var; then
|
||||
vt_acpi_param ${vtoy_chain_mem_addr} 512
|
||||
fi
|
||||
ventoy_cli_console
|
||||
chainloader ${vtoy_path}/ventoy_${VTOY_EFI_ARCH}.efi sector512 env_param=${ventoy_env_param} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
|
||||
boot
|
||||
|
Reference in New Issue
Block a user