summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-07 05:12:55 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-05-07 05:12:55 -0400
commit3ab0472e250832b09564b1c875584842aebd279e (patch)
treed93a68eecb1828b7ac97e68e91b64200cbee04ba /perl-install
parent40a7f58772c65df23e49ad4f13d4d8b2029853fc (diff)
downloaddrakx-3ab0472e250832b09564b1c875584842aebd279e.tar
drakx-3ab0472e250832b09564b1c875584842aebd279e.tar.gz
drakx-3ab0472e250832b09564b1c875584842aebd279e.tar.bz2
drakx-3ab0472e250832b09564b1c875584842aebd279e.tar.xz
drakx-3ab0472e250832b09564b1c875584842aebd279e.zip
fix detecting AHCI as SATA (mga#9992)
AHCI driver is a kernel built-in these days, not a module anymore, since kernel-desktop-3.8.0-0.rc6.1.mga3 (Feb 06 2013)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/harddrake/data.pm3
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d2c2883d5..1eb771be3 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- harddrake:
+ o fix detecting AHCI as SATA (mga#9992)
+
Version 16.90 - 28 April 2015
- localedrake:
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 7989383d2..181e47d4c 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -62,7 +62,8 @@ our @tree =
string => N("SATA controllers"),
icon => "ide_hd.png",
configurator => "",
- detector => sub { f(grep { $_->{driver} !~ /^pata/ } detect_devices::probe_category('disk/sata')) },
+ detector => sub { f(grep { $_->{driver} !~ /^pata/ } detect_devices::probe_category('disk/sata')),
+ f(grep { $_->{description} =~ /AHCI/ } @devices) },
checked_on_boot => 1,
},