[PATCH 2/5] Set device uuid before calling Device ctor.
David Lehman
dlehman at redhat.com
Mon Mar 24 18:50:49 UTC 2014
It is needed by ContainerDevice._addParent.
---
blivet/devices.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devices.py b/blivet/devices.py
index ddd9f77..c264007 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -423,9 +423,9 @@ class StorageDevice(Device):
parents = [parents]
self.exists = exists
+ self.uuid = uuid
Device.__init__(self, name, parents=parents)
- self.uuid = uuid
self._format = None
self._size = Size(bytes=util.numeric_type(size))
self.major = util.numeric_type(major)
--
1.8.5.3
More information about the anaconda-patches
mailing list