summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-01 14:10:53 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-01 14:10:53 +0000
commit7515fc6c2f5a02b40e77cf356a505f0288286b31 (patch)
tree8b2bbab7b5aee9fff791bfaefe80600ac5f9c8b2 /perl-install/install/any.pm
parent69e0a94455480ee159cee04847e531d5d771f82b (diff)
downloaddrakx-7515fc6c2f5a02b40e77cf356a505f0288286b31.tar
drakx-7515fc6c2f5a02b40e77cf356a505f0288286b31.tar.gz
drakx-7515fc6c2f5a02b40e77cf356a505f0288286b31.tar.bz2
drakx-7515fc6c2f5a02b40e77cf356a505f0288286b31.tar.xz
drakx-7515fc6c2f5a02b40e77cf356a505f0288286b31.zip
- install apmd if /proc/apm exists
(rpmsrate does not list apmd anymore, and apm is a kernel builtin)
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 416e24bdb..ab4900929 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -517,6 +517,7 @@ sub default_packages {
push @l, "dmraid" if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}};
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";
push @l, detect_devices::probe_name('Pkg');
my $dmi_BIOS = detect_devices::dmidecode_category('BIOS');