Mageia Bugzilla – Attachment 6461 Details for
Bug 9992
Harddrake2 is not working properly. Devices are defined not true.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
fix listing AHCI as SATA
9992b.diff (text/plain), 745 bytes, created by
Thierry Vignaud
on 2015-05-07 11:06:56 CEST
(
hide
)
Description:
fix listing AHCI as SATA
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-05-07 11:06:56 CEST
Size:
745 bytes
patch
obsolete
>fix listing AHCI in harddrake (mga#9992) > >AHCI driver is a kernel built-in these days, not a module anymore > >diff -up ./harddrake/data.pm.tv3 ./harddrake/data.pm >--- ./harddrake/data.pm.tv3 2015-05-07 05:00:41.321064200 -0400 >+++ ./harddrake/data.pm 2015-05-07 05:01:24.909062981 -0400 >@@ -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, > }, >
fix listing AHCI in harddrake (mga#9992) AHCI driver is a kernel built-in these days, not a module anymore diff -up ./harddrake/data.pm.tv3 ./harddrake/data.pm --- ./harddrake/data.pm.tv3 2015-05-07 05:00:41.321064200 -0400 +++ ./harddrake/data.pm 2015-05-07 05:01:24.909062981 -0400 @@ -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, },
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9992
:
3895
|
6460
| 6461