summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2004-07-13 20:21:27 +0000
committerPaul Nasrat <pnasrat@redhat.com>2004-07-13 20:21:27 +0000
commitae593644ee221c006333c9c61060e14a1a86fe69 (patch)
tree7ad0c3f07b6beaf52b7f5ef8e42427b9b4ab521b /partedUtils.py
parent4b7ca29b3a22e557f51fb788c83c3cb806227415 (diff)
downloadanaconda-ae593644ee221c006333c9c61060e14a1a86fe69.tar.gz
anaconda-ae593644ee221c006333c9c61060e14a1a86fe69.tar.xz
anaconda-ae593644ee221c006333c9c61060e14a1a86fe69.zip
Default to mac partition tables on PMac
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py
index 466f69b09..a4fe10589 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -236,7 +236,10 @@ def getDefaultDiskType():
elif iutil.getArch() == "sparc":
return parted.disk_type_get("sun")
elif iutil.getArch() == "ppc":
- return parted.disk_type_get("msdos")
+ if iutil.getPPCMachine() == "PMac":
+ return parted.disk_type_get("mac")
+ else:
+ return parted.disk_type_get("msdos")
else:
return parted.disk_type_get("msdos")