diff options
author | Chris Lumens <clumens@redhat.com> | 2005-08-16 15:55:17 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-08-16 15:55:17 +0000 |
commit | 09b6d6b38a56e04df7a0b3edd5ee750f7b03a08e (patch) | |
tree | 121ad470706f6a5a0d3b93a8a29fbd85b3aa622e /partedUtils.py | |
parent | e8ff2ce1038483693be4e72f375b3d725c8ebe30 (diff) | |
download | anaconda-09b6d6b38a56e04df7a0b3edd5ee750f7b03a08e.tar.gz anaconda-09b6d6b38a56e04df7a0b3edd5ee750f7b03a08e.tar.xz anaconda-09b6d6b38a56e04df7a0b3edd5ee750f7b03a08e.zip |
Add support for Pegasos machine (dwmw2, #166013).
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/partedUtils.py b/partedUtils.py index e905cc553..fcdf791aa 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -251,8 +251,12 @@ def getDefaultDiskType(): elif iutil.getArch() == "sparc": return parted.disk_type_get("sun") elif iutil.getArch() == "ppc": - if iutil.getPPCMachine() == "PMac": + ppcMachine = iutil.getPPCMachine() + + if ppcMachine == "PMac": return parted.disk_type_get("mac") + elif ppcMachine == "Pegasos": + return parted.disk_type_get("amiga") else: return parted.disk_type_get("msdos") else: @@ -263,7 +267,7 @@ archLabels = {'i386': ['msdos'], 'alpha': ['bsd', 'msdos'], 'sparc': ['sun'], 'ia64': ['msdos', 'gpt'], - 'ppc': ['msdos', 'mac'], + 'ppc': ['msdos', 'mac', 'amiga'], 'x86_64': ['msdos']} # this is kind of crappy, but we don't really want to allow LDL formatted |