Re: [PATCH] Workaround MMC block devs showing up not as disks from hal (#481431)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Look good!

Regards,

Hans


Jeremy Katz wrote:
---
 minihal.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/minihal.py b/minihal.py
index 6d4e6de..8ab93d4 100644
--- a/minihal.py
+++ b/minihal.py
@@ -53,6 +53,10 @@ def get_device(udi):
         pdev = get_device(props['net.originating_device'])
         props['description'] = pdev['description']
+ # mmc block devices don't show up as disks (#481431)
+    if props.has_key('storage.drive_type') and props['storage.drive_type'] == "sd_mmc":
+        props['storage.drive_type'] = "disk"
+
     return props
def get_devices_by_type(type):

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux