diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2004-07-13 20:21:27 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2004-07-13 20:21:27 +0000 |
commit | ae593644ee221c006333c9c61060e14a1a86fe69 (patch) | |
tree | 7ad0c3f07b6beaf52b7f5ef8e42427b9b4ab521b /partedUtils.py | |
parent | 4b7ca29b3a22e557f51fb788c83c3cb806227415 (diff) | |
download | anaconda-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.py | 5 |
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") |