[PATCH] The bootloader device is not a device object.

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

 



We must append the path to the retval.  Since device is a string
containing the rest of the path, we only need to prepend "/dev"
---
 booty/ppc.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/booty/ppc.py b/booty/ppc.py
index 706f198..b574336 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -35,7 +35,7 @@ class ppcBootloaderInfo(bootloaderInfo):
                 retval.append(device.path)
             else:
                 if bl.getDevice():
-                    retval.append(bl.getDevice().path)
+                    retval.append(os.path.join("/dev", bl.getDevice()))
 
         return retval
 
-- 
1.6.0.6

_______________________________________________
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