On Thu, Jun 07, 2012 at 12:04:54PM -0500, David Lehman wrote: > --- > pyanaconda/storage/devicetree.py | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py > index a90fd18..a597726 100644 > --- a/pyanaconda/storage/devicetree.py > +++ b/pyanaconda/storage/devicetree.py > @@ -860,7 +860,12 @@ class DeviceTree(object): > log.info("%s is an fcoe disk" % name) > elif udev_device_get_md_container(info): > diskType = MDRaidArrayDevice > - parentName = devicePathToName(udev_device_get_md_container(info)) > + parentPath = udev_device_get_md_container(info) > + if os.path.islink(parentName): I think you mean parentPath here ^^^^ > + parentPath = os.path.join(os.path.dirname(parentPath), > + os.readlink(parentPath)) > + > + parentName = devicePathToName(os.path.normpath(parentPath)) -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
Attachment:
pgpiJxV4mjBcF.pgp
Description: PGP signature
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list