summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/any.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 38b9868c6..cf7d36626 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,8 @@
- add help button for media selection step
- fix/adjust some help pages (#42986)
- fix dithering regression (introduced on 2008-09-29)
+- install apmd if /proc/apm exists
+ (rpmsrate does not list apmd anymore, and apm is a kernel builtin)
Version 11.58 - 29 September 2008
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');