summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-09-10 18:41:37 +0000
committerJeremy Katz <katzj@redhat.com>2002-09-10 18:41:37 +0000
commitbb622e75b9363bb8a7135db636e936c384787bed (patch)
tree48443df5aea6c7460adb4994f322ec95e5dfd680 /partedUtils.py
parent04e717140feee2721510ab949b13f899762f3e0c (diff)
downloadanaconda-bb622e75b9363bb8a7135db636e936c384787bed.tar.gz
anaconda-bb622e75b9363bb8a7135db636e936c384787bed.tar.xz
anaconda-bb622e75b9363bb8a7135db636e936c384787bed.zip
merge alpha changes from 7.2-alpha
didn't merge the following: * weird handling of /boot and the beginning of the disk. if we do alpha again, we need to do this in some sort of maintainable fashion * some of the weird stuff with adding a single user target in the boot loader config and the like
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 2938a1386..476e2bd35 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -217,6 +217,8 @@ def getDefaultDiskType():
return parted.disk_type_get("GPT")
elif iutil.getArch() == "s390":
return parted.disk_type_get("dasd")
+ elif iutil.getArch() == "alpha":
+ return parted.disk_type_get("bsd")
else:
# XXX fix me for alpha at least
return parted.disk_type_get("msdos")
@@ -224,6 +226,7 @@ def getDefaultDiskType():
archLabels = {'i386': ['msdos'],
'alpha': ['bsd'],
's390': ['dasd'],
+ 'alpha': ['bsd', 'msdos'],
'ia64': ['msdos', 'GPT']}
def checkDiskLabel(disk, intf):