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

[PATCH 2/2] Fix testing if a PPC partition is bootable (#492726).



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

diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index ff9592e..e1a1414 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -225,7 +225,7 @@ class BootImages:
                 # be the correct one to boot with XP using ntfs
                 foundDos = True
             elif type in ["hfs", "hfs+"] and rhpl.getPPCMachine() == "PMac":
-                if self.partedFlags[parted.PARTITION_BOOT]:
+                if part.bootable:
                     retval.append((part, type))
 
         rootDevice = storage.fsset.rootDevice
-- 
1.6.1.3


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