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
commit1b1ec7e6f64fb2427b4ccf8a053745d07833a894 (patch)
treea1cb8bc4d3b0a8d817ec0120483bc19fbf1648a9 /perl-install
parent8c790a284d46a1d8b3a90237e453d2c45b7e04d8 (diff)
downloaddrakx-backup-do-not-use-1b1ec7e6f64fb2427b4ccf8a053745d07833a894.tar
drakx-backup-do-not-use-1b1ec7e6f64fb2427b4ccf8a053745d07833a894.tar.gz
drakx-backup-do-not-use-1b1ec7e6f64fb2427b4ccf8a053745d07833a894.tar.bz2
drakx-backup-do-not-use-1b1ec7e6f64fb2427b4ccf8a053745d07833a894.tar.xz
drakx-backup-do-not-use-1b1ec7e6f64fb2427b4ccf8a053745d07833a894.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";