summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index f0f9b452f..905eaa1b2 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -729,7 +729,7 @@ sub summaryAfter {
my ($o) = @_;
require bootloader;
- bootloader::get_append($o->{bootloader}, 'acpi') ne 'off' && !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid")
+ bootloader::get_append($o->{bootloader}, 'acpi') ne 'off' && ne 'ht' && !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid")
and $o->do_pkgs->install(qw(acpi acpid));
}
@@ -885,6 +885,9 @@ sub setupBootloaderBefore {
if (cat_("/proc/cmdline") =~ /\bacpi=off/) {
bootloader::set_append($o->{bootloader}, acpi => 'off');
}
+ if (cat_("/proc/cmdline") =~ /\bacpi=ht/) {
+ bootloader::set_append($o->{bootloader}, acpi => 'ht');
+ }
if (cat_("/proc/cmdline") =~ /\bnoapic/) {
bootloader::set_append($o->{bootloader}, 'noapic');
}