From 8104351460f06a244c1b65ee800d8c35bcd35449 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 7 Sep 2011 17:59:08 +0000 Subject: (default_packages) better microcode_ctl management --- perl-install/install/any.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/install/any.pm') diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index e5050b8e9..623892693 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -544,6 +544,7 @@ sub default_packages { push @l, "lvm2" if !is_empty_array_ref($o->{all_hds}{lvms}); push @l, "cryptsetup" if !is_empty_array_ref($o->{all_hds}{dmcrypts}); push @l, "dmraid" if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}}; + push @l, "microcode_ctl" if detect_devices::hasCPUMicrocode(); push @l, 'cpufreq' if cat_('/proc/cpuinfo') =~ /AuthenticAMD/ && arch() =~ /x86_64/ || cat_('/proc/cpuinfo') =~ /model name.*Intel\(R\) Core\(TM\)2 CPU/; push @l, 'apmd' if -e "/proc/apm"; -- cgit v1.2.1