diff options
author | jakub <jakub> | 1999-10-01 15:16:06 +0000 |
---|---|---|
committer | jakub <jakub> | 1999-10-01 15:16:06 +0000 |
commit | f89537c77860c61a1b2c75f7ffea0c1ff63b5d08 (patch) | |
tree | c6f047adb6e980b6f622ce19fea918adf02fb8d9 /installclass.py | |
parent | 1c588375180df17b5b3069004b811ab016027d20 (diff) | |
download | anaconda-f89537c77860c61a1b2c75f7ffea0c1ff63b5d08.tar.gz anaconda-f89537c77860c61a1b2c75f7ffea0c1ff63b5d08.tar.xz anaconda-f89537c77860c61a1b2c75f7ffea0c1ff63b5d08.zip |
DiskDruid hacks:
Make /boot default for WS and Server installations for sparc32, allow the
user to make new sun disk labels, show appropriate partition types for new
partition creation, move all maxswap computations into one place,
add special constraint for sparc32 /boot or / (if no /boot), so that it will
fit into first 1GB of the disk.
Small fix in kbd.py.
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/installclass.py b/installclass.py index 22158583a..1dcebae56 100644 --- a/installclass.py +++ b/installclass.py @@ -10,7 +10,7 @@ FSEDIT_CLEAR_LINUX = (1 << 1) FSEDIT_CLEAR_ALL = (1 << 2) FSEDIT_USE_EXISTING = (1 << 3) -import gettext +import gettext, os from xf86config import XF86Config cat = gettext.Catalog ("anaconda", "/usr/share/locale") @@ -239,7 +239,8 @@ class Workstation(InstallClass): self.addToSkipList("package-selection") self.addToSkipList("format") - self.partitions.append(('/boot', 16, 16, 0)) + if os.uname ()[4] != 'sparc64': + self.partitions.append(('/boot', 16, 16, 0)) self.partitions.append(('/', 500, 500, 1)) self.partitions.append(('swap', 64, 64, 0)) self.setClearParts(FSEDIT_CLEAR_LINUX, @@ -273,7 +274,8 @@ class Server(InstallClass): self.addToSkipList("partition") self.addToSkipList("format") - self.partitions.append(('/boot', 16, 16, 0)) + if os.uname ()[4] != 'sparc64': + self.partitions.append(('/boot', 16, 16, 0)) self.partitions.append(('/', 256, 256, 0)) self.partitions.append(('/usr', 512, 512, 1)) self.partitions.append(('/var', 256, 256, 0)) |