[PATCH 6/6] getDevice returns a string. Use that to look up the device object (#492465).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 booty/ppc.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/booty/ppc.py b/booty/ppc.py
index e49a865..4360bf4 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -35,7 +35,8 @@ class ppcBootloaderInfo(bootloaderInfo):
                 retval.append(device.path)
             else:
                 if bl.getDevice():
-                    retval.append(bl.getDevice().path)
+                    d = bl.getDevice()
+                    retval.append(self.storage.devicetree.getDeviceByName(d).path)
 
         return retval
 
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux