summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
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/install/any.pm
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/install/any.pm')
-rw-r--r--perl-install/install/any.pm1
1 files changed, 1 insertions, 0 deletions
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";