[master 13/13] Pass a sysfs path to MultipathDevice constructor from Populator.

dwlehman installerbot-noreply at redhat.com
Thu Mar 19 19:59:35 UTC 2015


From: David Lehman <dlehman at redhat.com>

---
 blivet/populator.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/blivet/populator.py b/blivet/populator.py
index 13e5157..a6f09a8 100644
--- a/blivet/populator.py
+++ b/blivet/populator.py
@@ -370,6 +370,7 @@ def addUdevMultiPathDevice(self, info):
                 raise DeviceTreeError("multipath %s has no DM_UUID" % name)
 
             device = MultipathDevice(name, parents=slave_devs,
+                                     sysfsPath=udev.device_get_sysfs_path(info),
                                      serial=serial)
             self.devicetree._addDevice(device)
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/d2a27294a05b0c34bb6a69d3393cda1d17ae0a7c


More information about the anaconda-patches mailing list