Mageia Bugzilla – Attachment 4542 Details for
Bug 11812
drakxtools doesn't recognize eMMC as block device (basic patch)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
recognize mmcblk partitions
devices.diff (text/plain), 403 bytes, created by
Thierry Vignaud
on 2013-11-29 10:23:11 CET
(
hide
)
Description:
recognize mmcblk partitions
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2013-11-29 10:23:11 CET
Size:
403 bytes
patch
obsolete
>diff --git a/perl-install/devices.pm b/perl-install/devices.pm >index 5162bd6..8ea66bd 100644 >--- a/perl-install/devices.pm >+++ b/perl-install/devices.pm >@@ -212,7 +212,7 @@ sub make($) { > > sub simple_partition_scan { > my ($part) = @_; >- $part->{device} =~ /((?:[hsv]|xv)d[a-z])(\d+)$/; >+ $part->{device} =~ /((?:[hsv]|xv)d[a-z]|mmcblk\d+p)(\d+)$/; > } > sub part_number { > my ($part) = @_;
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 5162bd6..8ea66bd 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -212,7 +212,7 @@ sub make($) { sub simple_partition_scan { my ($part) = @_; - $part->{device} =~ /((?:[hsv]|xv)d[a-z])(\d+)$/; + $part->{device} =~ /((?:[hsv]|xv)d[a-z]|mmcblk\d+p)(\d+)$/; } sub part_number { my ($part) = @_;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11812
:
4540
|
4541
| 4542