From 613e02acbf57e502a1c12460b99fdd71ead9e467 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Oct 2005 16:21:45 +0000 Subject: (default_packages) install powernowd on x86_64 (since they've the cool&quiet technology) and athcool on athlon32 --- perl-install/install_any.pm | 1 + 1 file changed, 1 insertion(+) 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'); -- cgit v1.2.1