diff options
author | Nicolas Planel <nplanel@mandriva.com> | 2003-08-27 15:43:57 +0000 |
---|---|---|
committer | Nicolas Planel <nplanel@mandriva.com> | 2003-08-27 15:43:57 +0000 |
commit | d6867c1d7c99edd043c64e3c6667796c28be408a (patch) | |
tree | 8f1b7f8348a269cb1593ed34860d5d08a9a62fa3 /perl-install/install_steps.pm | |
parent | db385d51f064035eb800ae4084b4cf7b0370ad29 (diff) | |
download | drakx-d6867c1d7c99edd043c64e3c6667796c28be408a.tar drakx-d6867c1d7c99edd043c64e3c6667796c28be408a.tar.gz drakx-d6867c1d7c99edd043c64e3c6667796c28be408a.tar.bz2 drakx-d6867c1d7c99edd043c64e3c6667796c28be408a.tar.xz drakx-d6867c1d7c99edd043c64e3c6667796c28be408a.zip |
Now acpi=ht to prevent HT detection only
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 5 |
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'); } |