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/NEWS | 1 + perl-install/install/any.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 747502be2..1c2e3d88b 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- better microcode_ctl management - fix cpufreq detection corrupting other types Version 13.62 - 22 August 2011 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