summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 6ff7596c5..b586ea3ed 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -810,7 +810,8 @@ sub setupBootloaderBefore {
if (my ($acpi) = cat_("/proc/cmdline") =~ /\bacpi=(\w+)/) {
if ($acpi eq 'ht') {
#- the user is using the default, which may not be the best
- if (detect_devices::computer_info()->{BIOS_Year} >= 2002) {
+ my $year = detect_devices::computer_info()->{BIOS_Year};
+ if ($year >= 2002) {
log::l("forcing ACPI on recent bios ($year)");
$acpi = '';
}