[PATCH 3/3] Don't pass md array UUID as member format UUID.

David Lehman dlehman at redhat.com
Thu Jul 31 22:16:04 UTC 2014


Related: rhbz#1070095
---
 blivet/devicetree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index 73558df..03da94f 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -1806,7 +1806,7 @@ class DeviceTree(object):
 
             # attempt to reset the uuid using mdexamine info
             # will succeed only if metadata version > 0.90
-            kwargs["uuid"] = udev.device_get_md_device_uuid(info) or kwargs["uuid"]
+            kwargs["uuid"] = udev.device_get_md_device_uuid(info)
 
             kwargs["biosraid"] = udev.device_is_biosraid_member(info)
         elif format_type == "LVM2_member":
-- 
1.9.3



More information about the anaconda-patches mailing list