diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-10-22 15:41:35 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-10-22 15:41:35 +0000 |
commit | 60556652731c7e14722c5fac8a971c4aa1109ab9 (patch) | |
tree | b59cf12e734e894f62bddcfff4fe27956f256692 /perl-install | |
parent | 3cd731f57f0ceeae077be16328d6ab3b4b280257 (diff) | |
download | drakx-60556652731c7e14722c5fac8a971c4aa1109ab9.tar drakx-60556652731c7e14722c5fac8a971c4aa1109ab9.tar.gz drakx-60556652731c7e14722c5fac8a971c4aa1109ab9.tar.bz2 drakx-60556652731c7e14722c5fac8a971c4aa1109ab9.tar.xz drakx-60556652731c7e14722c5fac8a971c4aa1109ab9.zip |
Handle idle=poll as a workaround for broken BIOSes.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 58a33b68d..bd72ed4e8 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -825,6 +825,9 @@ sub setupBootloaderBefore { if (cat_("/proc/cmdline") =~ /\bnoapic/) { bootloader::set_append($o->{bootloader}, 'noapic'); } + if (cat_("/proc/cmdline") =~ /\b(idle)=(\S+)/) { + bootloader::set_append($o->{bootloader}, $1, $2); + } my ($MemTotal) = cat_("/proc/meminfo") =~ /^MemTotal:\s*(\d+)/m; if (my ($biggest_swap) = sort { $b->{size} <=> $a->{size} } grep { isSwap($_) } @{$o->{fstab}}) { log::l("MemTotal: $MemTotal < ", $biggest_swap->{size} / 2); |