check for CONFIG_ACPI_TABLE_UPGRADE

additionally as for CONFIG_ACPI_INITRD_TABLE_OVERRIDE
config parameter got renamed
master
Harald Hoyer 2017-06-27 12:27:56 +02:00
parent a0d129e33e
commit 940169e8d8
1 changed files with 2 additions and 2 deletions

View File

@ -1053,8 +1053,8 @@ if [[ ! $print_cmdline ]]; then
fi
fi

if [[ $acpi_override = yes ]] && ! check_kernel_config CONFIG_ACPI_INITRD_TABLE_OVERRIDE; then
dwarn "Disabling ACPI override, because kernel does not support it. CONFIG_ACPI_INITRD_TABLE_OVERRIDE!=y"
if [[ $acpi_override = yes ]] && ! ( check_kernel_config CONFIG_ACPI_TABLE_UPGRADE || check_kernel_config CONFIG_ACPI_INITRD_TABLE_OVERRIDE ); then
dwarn "Disabling ACPI override, because kernel does not support it. CONFIG_ACPI_INITRD_TABLE_OVERRIDE!=y or CONFIG_ACPI_TABLE_UPGRADE!=y"
unset acpi_override
fi