diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-06-29 17:50:38 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-06-29 17:50:38 +0000 |
commit | 80c2358f95708f93ae8c74776ab3f73294380bd9 (patch) | |
tree | 66da096984b126e6ff037fc446ea0d34e849dead /backend.py | |
parent | 66ea54b4f1ebe35cd2d38fb9c7b27a42dce4cb4c (diff) | |
download | anaconda-80c2358f95708f93ae8c74776ab3f73294380bd9.tar.gz anaconda-80c2358f95708f93ae8c74776ab3f73294380bd9.tar.xz anaconda-80c2358f95708f93ae8c74776ab3f73294380bd9.zip |
* backend.py (AnacondaBackend.doPostInstall): Call getDevice() on
entry.device, not entry (#185852).
Diffstat (limited to 'backend.py')
-rw-r--r-- | backend.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backend.py b/backend.py index 80dc64236..239e2e9e6 100644 --- a/backend.py +++ b/backend.py @@ -89,9 +89,11 @@ class AnacondaBackend: os.makedirs(d, mode=0755) for entry in anaconda.id.fsset.entries: - if entry.device.getDevice().find('mapper/mpath') != -1: + dev = entry.device.getDevice() + if dev.find('mapper/mpath') != -1: + fulldev = "/dev/%s" % (dev,) rc = iutil.execWithRedirect("/sbin/multipath", - ["-v", "0", entry.getDevice()], + ["-v", "0", fulldev], stdout = "/dev/tty5", stderr = "/dev/tty5") |