diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-10-03 16:21:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-10-03 16:21:45 +0000 |
commit | 613e02acbf57e502a1c12460b99fdd71ead9e467 (patch) | |
tree | 0529e65e1687e22c9c19e38aa2f09d6b63e6aca5 /perl-install/install_any.pm | |
parent | c99b07cc24d3de330f9a8413e7a00fe6bdd37de3 (diff) | |
download | drakx-613e02acbf57e502a1c12460b99fdd71ead9e467.tar drakx-613e02acbf57e502a1c12460b99fdd71ead9e467.tar.gz drakx-613e02acbf57e502a1c12460b99fdd71ead9e467.tar.bz2 drakx-613e02acbf57e502a1c12460b99fdd71ead9e467.tar.xz drakx-613e02acbf57e502a1c12460b99fdd71ead9e467.zip |
(default_packages) install powernowd on x86_64 (since they've the cool&quiet technology) and athcool on athlon32
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index b2581a1a8..c636f6d09 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -897,6 +897,7 @@ sub default_packages { push @l, "lvm2" if !is_empty_array_ref($o->{all_hds}{lvms}); push @l, "dmraid" if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}}; push @l, "alsa-utils" if any { $o->{modules_conf}->get_alias("sound-slot-$_") =~ /^snd-/ } 0 .. 4; + push @l, (arch() =~ /x86_64/ ? 'powernowd' : 'athcool') if cat_('/proc/cpuinfo') =~ /AuthenticAMD/; push @l, detect_devices::probe_name('Pkg'); my $dmi_BIOS = detect_devices::dmidecode_category('BIOS'); |