summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2005-02-19 17:36:27 +0000
committerPaul Nasrat <pnasrat@redhat.com>2005-02-19 17:36:27 +0000
commit2b60cb5f72d1674bef3f9a89538c46904560f08b (patch)
tree8a0a634af59c2a38182191d5ea9b1621c25db055 /partedUtils.py
parent987b7da8ddcbc1f6eb94aa8f1e0c3610ae3db7d9 (diff)
downloadanaconda-2b60cb5f72d1674bef3f9a89538c46904560f08b.tar.gz
anaconda-2b60cb5f72d1674bef3f9a89538c46904560f08b.tar.xz
anaconda-2b60cb5f72d1674bef3f9a89538c46904560f08b.zip
Fedora PPC - autopartitioning (#121266) and G5 (#149081)
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/partedUtils.py b/partedUtils.py
index cccd46bd3..658eb96ee 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -137,6 +137,9 @@ def get_partition_file_system_type(part):
"""
if part.fs_type is None and part.native_type == 0x41:
ptype = fsset.fileSystemTypeGet("PPC PReP Boot")
+ elif (part.get_flag(parted.PARTITION_BOOT) == 1 and
+ getPartSizeMB(part) <= 1 and part.fs_type.name == "hfs"):
+ ptype = fsset.fileSystemTypeGet("Apple Bootstrap")
elif part.fs_type == None:
return None
elif part.fs_type.name == "linux-swap":