summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader.py b/bootloader.py
index 5c495cf3c..eedd64211 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -88,7 +88,7 @@ def bootloaderSetupChoices(anaconda):
disk = anaconda.id.diskset.disks[drive]
part = disk.next_partition()
while part:
- if part.is_active() and part.native_type == 0x41:
+ if part.is_active() and part.get_flag(parted.PARTITION_PREP):
bootPart = part.getDeviceNodeName()
break
part = disk.next_partition(part)