diff options
author | Jeremy Katz <katzj@redhat.com> | 2009-02-02 18:54:05 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2009-02-03 10:27:41 -0500 |
commit | 497508da793960b92a371367888467920edced4b (patch) | |
tree | c953979b85fe14a4fa74b7b6a685e56118d52d0b | |
parent | 8a51f5d3aff097f94790f2bf876703e81137499c (diff) | |
download | anaconda-497508da793960b92a371367888467920edced4b.tar.gz anaconda-497508da793960b92a371367888467920edced4b.tar.xz anaconda-497508da793960b92a371367888467920edced4b.zip |
Workaround MMC block devs showing up not as disks from hal (#481431)
-rw-r--r-- | minihal.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/minihal.py b/minihal.py index 6d4e6dece..8ab93d4bf 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): |