summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-07 17:59:08 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-07 17:59:08 +0000
commit8104351460f06a244c1b65ee800d8c35bcd35449 (patch)
treea1cb8bc4d3b0a8d817ec0120483bc19fbf1648a9 /perl-install
parente5a279e75e243d406c9d2d7b43f021f45d519aaf (diff)
downloaddrakx-8104351460f06a244c1b65ee800d8c35bcd35449.tar
drakx-8104351460f06a244c1b65ee800d8c35bcd35449.tar.gz
drakx-8104351460f06a244c1b65ee800d8c35bcd35449.tar.bz2
drakx-8104351460f06a244c1b65ee800d8c35bcd35449.tar.xz
drakx-8104351460f06a244c1b65ee800d8c35bcd35449.zip
(default_packages) better microcode_ctl management
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/any.pm1
2 files changed, 2 insertions, 0 deletions
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";