summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-09-10 19:22:55 +0000
committerJeremy Katz <katzj@redhat.com>2002-09-10 19:22:55 +0000
commita31e78d2e43ff0f3cb46c040122370f68428cc0a (patch)
tree1fc10acf636444cba5eb38764835b438482bc216 /partedUtils.py
parentc6e1ba00c7a44d2160b57017ca5c290d1f438d02 (diff)
downloadanaconda-a31e78d2e43ff0f3cb46c040122370f68428cc0a.tar.gz
anaconda-a31e78d2e43ff0f3cb46c040122370f68428cc0a.tar.xz
anaconda-a31e78d2e43ff0f3cb46c040122370f68428cc0a.zip
some non-controversial bits of sparc. also pulls in updated loader/stubs.c
which should fix non-diet minilibc build
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 476e2bd35..071c448f0 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -219,6 +219,8 @@ def getDefaultDiskType():
return parted.disk_type_get("dasd")
elif iutil.getArch() == "alpha":
return parted.disk_type_get("bsd")
+ elif iutil.getArch() == "sparc":
+ return parted.disk_type_get("sun")
else:
# XXX fix me for alpha at least
return parted.disk_type_get("msdos")
@@ -227,6 +229,7 @@ archLabels = {'i386': ['msdos'],
'alpha': ['bsd'],
's390': ['dasd'],
'alpha': ['bsd', 'msdos'],
+ 'sparc': ['sun'],
'ia64': ['msdos', 'GPT']}
def checkDiskLabel(disk, intf):